summaryrefslogtreecommitdiff
path: root/app-text
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2013-06-13 02:08:20 +0200
committerBertrand Jacquin <beber@meleeweb.net>2013-06-13 02:08:20 +0200
commit5e2f1c654d25171ce316007bfba19eb5959ba9ec (patch)
tree47daecb05ef0a4ea39c15038b4e06f277455db18 /app-text
parentflx/init-openvpn: Move to EAPI 5 (diff)
downloadportage-5e2f1c654d25171ce316007bfba19eb5959ba9ec.tar.xz
app-text/hypermail: Move to EAPI 5, fix bar espacaping, and ~amd64 KEYWORDS, respect CC AR and RANLIB
Package-Manager: portage-2.1.12.4
Diffstat (limited to 'app-text')
-rw-r--r--app-text/hypermail/ChangeLog4
-rw-r--r--app-text/hypermail/Manifest4
-rw-r--r--app-text/hypermail/hypermail-2.2.0.ebuild37
3 files changed, 25 insertions, 20 deletions
diff --git a/app-text/hypermail/ChangeLog b/app-text/hypermail/ChangeLog
index 81d90872..13ab3e68 100644
--- a/app-text/hypermail/ChangeLog
+++ b/app-text/hypermail/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 13 Jun 2013; Bertrand Jacquin <beber@meleeweb.net> hypermail-2.2.0.ebuild:
+ app-text/hypermail: Move to EAPI 5, fix bar espacaping, and ~amd64 KEYWORDS,
+ respect CC AR and RANLIB
+
10 Jun 2013; Bertrand Jacquin <beber@meleeweb.net> hypermail-2.2.0.ebuild,
metadata.xml:
Fix manifest
diff --git a/app-text/hypermail/Manifest b/app-text/hypermail/Manifest
index 7e7ffa46..f98d48a7 100644
--- a/app-text/hypermail/Manifest
+++ b/app-text/hypermail/Manifest
@@ -1,5 +1,5 @@
AUX destdir.patch 1434 SHA256 fa5c3ce5044d2f2bef1b4f17d530d26c0d179953606b4a451cbff30b8546aa22 WHIRLPOOL 1d85717439e1ef99e37c1e09343f95458d2e2ed06d6b998fc755b2eace4357882fc2fef37f96c21f1fcf31bbf3565c53a03ac9777260b5e3877d5dc649cb293a
DIST hypermail-2.2.0.tar.gz 1256316 SHA256 6e1fe59b603b6d8faee583dbae52155282084474d2de4ff6e348bd7e86ea8dff WHIRLPOOL 5299aff930099f514f866867355d62859b1fef6f7025ba9d42a554fb5cccd9a81900964716cb00c49ad8b94316cd3ec4c1224e3a1b6991354956a9d372b9e946
-EBUILD hypermail-2.2.0.ebuild 962 SHA256 6efefcc78a72848460836856197b995ee57bfa5bb34006f22c3fa008433da356 WHIRLPOOL 1523afa2aa317c7b4b7a2d7ac54736e57de64f566cc735c5793c7a5aaf2b072d1faf22ebc93c156c18e80bcd0e81b9e4848acea4d7a40bcc81fecf2e251a2280
-MISC ChangeLog 586 SHA256 01f258ba50e1ba27f46e088feb8fbb1179fac3f5dfc928b2e7715fcd2507a82a WHIRLPOOL f3738df0fdc119ef3067471c58ecb98bdc4b984f06429328b9438fd24ef1296deaf550e1cc42d2291be9ffcb696d97051eb681026b672ae06de73da9281cfc73
+EBUILD hypermail-2.2.0.ebuild 814 SHA256 fd9c130cb126b17344c3448ebeb54e8c54d194cc2568ce018e5f87237827f861 WHIRLPOOL f38d5c19603553a1f30cee640a6af57cee5d767673c8ece867a38d59b78605422d792c0ad81477157dbe1e6a2087218a9c6d39169e060f2c1dc62e24bf172d34
+MISC ChangeLog 770 SHA256 9bc88cff5f83a86f3f2b8d4c00c90273ce77d596ed0394d3a78fa0810ff0ff2a WHIRLPOOL e56e1fbdace03e40159682fbc8b8be30eae396b601784a1005f4c01af97e2dfd45d4da5deefea14bd5cccca142bb5b0ec7478f85faef80c3d167a94e705d5f07
MISC metadata.xml 254 SHA256 c56bc3d6780712c960298c70bb86867aeb6661e97a317cc624516b0e16b72fcc WHIRLPOOL 2ebbfaa14ef0c1847284fe64a79f052cd7e73b25a724fba728c084aaaf2dd0692e068eedcf42ccef7e205077f00c35780ded7ec69118dc01ddb988b4802e46ae
diff --git a/app-text/hypermail/hypermail-2.2.0.ebuild b/app-text/hypermail/hypermail-2.2.0.ebuild
index 65ada9e8..9054f54a 100644
--- a/app-text/hypermail/hypermail-2.2.0.ebuild
+++ b/app-text/hypermail/hypermail-2.2.0.ebuild
@@ -2,37 +2,38 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+EAPI=5
+inherit eutils toolchain-funcs
+
DESCRIPTION="Make HTML archives out of mailboxes"
HOMEPAGE="http://www.hypermail-project.org/"
-SRC_URI="http://www.hypermail-project.org/$P.tar.gz"
+SRC_URI="http://www.hypermail-project.org/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~amd64 ~x86"
IUSE="gdbm doc"
DEPEND="gdbm? ( sys-libs/gdbm )"
RDEPEND="${DEPEND}"
-src_prepare () {
- # This patch makes DESTDIR=xxx work for make install
- patch -p0 < "$FILESDIR/destdir.patch" || die "patch failed"
+src_prepare() {
+ epatch "${FILESDIR}/destdir.patch"
+
+ # We exploit that docs/Makefile does not declare install.html as .PHONY
+ use doc || touch docs/install.html
+
+ tc-export AR CC RANLIB
}
-src_compile() {
- if ! use doc
- then
- einfo "Not installing html documentation."
- # We exploit that docs/Makefile does not declare install.html as .PHONY
- touch docs/install.html
- fi
- econf --with-htmldir="/usr/share/doc/$PF/html" "$(use_with gdbm)" ||
- die "econf failed"
- einfo "Compiling..."
- emake || die "emake failed"
+src_configure() {
+ econf \
+ --with-htmldir="/usr/share/doc/${PF}/html" \
+ $(use_with gdbm)
}
src_install() {
- make DESTDIR="$D" install
- dodoc Changelog KNOWN_BUGS README TODO UPGRADE || die 'dodoc failed'
+ emake DESTDIR="${ED}" install
+
+ dodoc Changelog KNOWN_BUGS README TODO UPGRADE
}