summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-06-22 17:47:35 +0000
committerTim Harder <radhermit@gentoo.org>2011-06-22 17:47:35 +0000
commitb06c77b81d0e3f8eaa1854c2e7c44f8a6b3c239d (patch)
tree54b30f08aae872a8ac00bcf5b9c029e01ee20d16 /sys-apps/moreutils
parentStable on amd64 wrt bug #372597 (diff)
downloadgentoo-2-b06c77b81d0e3f8eaa1854c2e7c44f8a6b3c239d.tar.gz
gentoo-2-b06c77b81d0e3f8eaa1854c2e7c44f8a6b3c239d.tar.bz2
gentoo-2-b06c77b81d0e3f8eaa1854c2e7c44f8a6b3c239d.zip
Version bump.
(Portage version: 2.2.0_alpha40/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/moreutils')
-rw-r--r--sys-apps/moreutils/ChangeLog7
-rw-r--r--sys-apps/moreutils/moreutils-0.45.ebuild58
2 files changed, 64 insertions, 1 deletions
diff --git a/sys-apps/moreutils/ChangeLog b/sys-apps/moreutils/ChangeLog
index 2390376b3c1e..6dff06a64e00 100644
--- a/sys-apps/moreutils/ChangeLog
+++ b/sys-apps/moreutils/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/moreutils
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/moreutils/ChangeLog,v 1.24 2011/04/01 05:07:36 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/moreutils/ChangeLog,v 1.25 2011/06/22 17:47:35 radhermit Exp $
+
+*moreutils-0.45 (22 Jun 2011)
+
+ 22 Jun 2011; Tim Harder <radhermit@gentoo.org> +moreutils-0.45.ebuild:
+ Version bump.
01 Apr 2011; Tim Harder <radhermit@gentoo.org> moreutils-0.43.ebuild,
moreutils-0.44.ebuild:
diff --git a/sys-apps/moreutils/moreutils-0.45.ebuild b/sys-apps/moreutils/moreutils-0.45.ebuild
new file mode 100644
index 000000000000..feae0bd48c0d
--- /dev/null
+++ b/sys-apps/moreutils/moreutils-0.45.ebuild
@@ -0,0 +1,58 @@
+# 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.45.ebuild,v 1.1 2011/06/22 17:47:35 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/IPC-Run
+ dev-perl/Time-Duration
+ dev-perl/TimeDate
+ )"
+DEPEND="
+ 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
+}