summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-03-10 06:12:58 +0000
committerTim Harder <radhermit@gentoo.org>2011-03-10 06:12:58 +0000
commita0df6a2efda3518d4da7c43af071ecb34bd01612 (patch)
tree6397bd2d50bb5220d61de6a885a1bdfcfc8d9594 /sys-apps
parentfix typo in new multilib_env export code pointed out by Ryan (diff)
downloadgentoo-2-a0df6a2efda3518d4da7c43af071ecb34bd01612.tar.gz
gentoo-2-a0df6a2efda3518d4da7c43af071ecb34bd01612.tar.bz2
gentoo-2-a0df6a2efda3518d4da7c43af071ecb34bd01612.zip
Version bump (bug #351043). Update to EAPI 4, add doc and perl USE flags (bug #333977 thanks to Diego Pettenò and Kevin Pyle), and add myself as a maintainer.
(Portage version: 2.2.0_alpha26/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/moreutils/ChangeLog12
-rw-r--r--sys-apps/moreutils/metadata.xml7
-rw-r--r--sys-apps/moreutils/moreutils-0.43.ebuild56
3 files changed, 73 insertions, 2 deletions
diff --git a/sys-apps/moreutils/ChangeLog b/sys-apps/moreutils/ChangeLog
index da6e4c6c7972..533d9568a4f6 100644
--- a/sys-apps/moreutils/ChangeLog
+++ b/sys-apps/moreutils/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sys-apps/moreutils
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/moreutils/ChangeLog,v 1.20 2010/10/22 07:12:59 radhermit Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/moreutils/ChangeLog,v 1.21 2011/03/10 06:12:58 radhermit Exp $
+
+*moreutils-0.43 (10 Mar 2011)
+
+ 10 Mar 2011; Tim Harder <radhermit@gentoo.org> +moreutils-0.43.ebuild,
+ metadata.xml:
+ Version bump (bug #351043). Update to EAPI 4, add doc and perl USE flags (bug
+ #333977 thanks to Diego Pettenò and Kevin Pyle), and add myself as a
+ maintainer.
*moreutils-0.42 (22 Oct 2010)
diff --git a/sys-apps/moreutils/metadata.xml b/sys-apps/moreutils/metadata.xml
index 7468e5f984c3..d97c58b00e88 100644
--- a/sys-apps/moreutils/metadata.xml
+++ b/sys-apps/moreutils/metadata.xml
@@ -6,4 +6,11 @@
<email>gregkh@gentoo.org</email>
<name>Greg Kroah-Hartman</name>
</maintainer>
+<maintainer>
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+</maintainer>
+<use>
+ <flag name='perl'>Install scripts written in Perl</flag>
+</use>
</pkgmetadata>
diff --git a/sys-apps/moreutils/moreutils-0.43.ebuild b/sys-apps/moreutils/moreutils-0.43.ebuild
new file mode 100644
index 000000000000..ff61aa347e6a
--- /dev/null
+++ b/sys-apps/moreutils/moreutils-0.43.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/moreutils/moreutils-0.43.ebuild,v 1.1 2011/03/10 06:12:58 radhermit Exp $
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="a growing collection of the unix tools that nobody thought to write
+thirty years ago"
+HOMEPAGE="http://kitenet.net/~joey/code/moreutils/"
+SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="+doc +perl"
+
+RDEPEND="perl? (
+ dev-lang/perl
+ dev-perl/Time-Duration
+ dev-perl/TimeDate
+ )"
+DEPEND="${RDEPEND}
+ doc? (
+ dev-lang/perl
+ >=app-text/docbook2X-0.8.8-r2
+ app-text/docbook-xml-dtd:4.4
+ )"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.42-dtd-path.patch
+
+ # Don't build manpages
+ if ! use doc ; then
+ sed -i -e '/^all:/s/$(MANS)//' \
+ -e '/man1/d' \
+ Makefile
+ fi
+
+ # Don't install perl scripts
+ if ! use perl ; then
+ sed -i -e '/PERLSCRIPTS/d' Makefile
+ fi
+}
+
+src_compile() {
+ tc-export CC
+ emake CFLAGS="${CFLAGS}" DOCBOOK2XMAN=docbook2man.pl
+}
+
+src_install() {
+ emake DESTDIR="${D}" INSTALL_BIN=install install
+}