summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-07-20 21:56:25 -0400
committerTim Harder <radhermit@gentoo.org>2016-07-20 22:06:07 -0400
commit6ff99fcaecb96e03ec33c35ff92fe15a2672211c (patch)
tree5274b776ff762cbffebff48800f7bac275f7a818 /sys-apps
parentwww-client/w3m: prefixify search paths of acinclude.m4. (diff)
downloadgentoo-6ff99fcaecb96e03ec33c35ff92fe15a2672211c.tar.gz
gentoo-6ff99fcaecb96e03ec33c35ff92fe15a2672211c.tar.bz2
gentoo-6ff99fcaecb96e03ec33c35ff92fe15a2672211c.zip
sys-apps/moreutils: version bump to 0.59
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/moreutils/Manifest1
-rw-r--r--sys-apps/moreutils/moreutils-0.59.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/sys-apps/moreutils/Manifest b/sys-apps/moreutils/Manifest
index 43e221943d8d..b5d70ce52423 100644
--- a/sys-apps/moreutils/Manifest
+++ b/sys-apps/moreutils/Manifest
@@ -7,3 +7,4 @@ DIST moreutils_0.55.orig.tar.gz 46500 SHA256 da9d5cd145ceea967a65dd50031d168d661
DIST moreutils_0.56.orig.tar.gz 46704 SHA256 ec4b7a1e1d1e1d6ec606d2877301ec06c6cf4091776687d9b76f4d019705e77f SHA512 1793619f791fa2da9d233e0ee90ba4d843ced638f059406bec84f476a1300df33288fc34452a2912de7006e1ba2a75492785024148fad6c8372987147fb8616f WHIRLPOOL 21eecda882856d0c4ee2fa744a9a10a8ac71333f64d592277fcb93cd6ed14bf59003dd16a2a8985f27556344e884d60e2c28556fd024638e3ce30f7397aa5bd1
DIST moreutils_0.57.orig.tar.gz 46749 SHA256 3a7d54b0634e5eda8c3c43490d47cea189156700892dea6d876867cef9bc0d1d SHA512 2451ed5218841866b117349e451460fce1e7b84485588b48c1f4bfaa18c311a12c9cc6700aff16911aba2d06467e539ea15a705ea3cf0d397b296c4c5f7047c1 WHIRLPOOL dbaf2f043f20f662a4e9df6183bf836c5fdfda419432295c80b14cb8db319d8e2b9a547071408f6fce1d1e34f9e6142b15e80efdc20c341abbe8e6108e583acd
DIST moreutils_0.58.orig.tar.gz 46828 SHA256 9c4bba745518f1cc4d5594b1276793bd4f737fedb2e5b14beeab4b73f106c00a SHA512 4bbb250d34b33a295e35cb4c282843ecf608ce61b428f8aa145a39dd6433a7b5b22619fe078df48be8d7f54f11aabcbf3094dc0e1c7fcd80c136e4be63282c64 WHIRLPOOL 88f81314e9f872c1b9965f0844dff46ea16809b161ca24818c2f73abd2db38669736ec38f678080137b9ec09512cb819077db80a95e9048a0c905e963c51c672
+DIST moreutils_0.59.orig.tar.gz 47248 SHA256 a48e11c3197bf79a7bfaa121423e64626e3381d9fedc91d606e9724ae498d1b4 SHA512 2cbe56a04476f5266bcb265c2c328ad61e2200eb1617ab632f1dcbefd08e0228652c82092cda7e12a539300cebf4550f766561f95de386ca4b3c2a491120f3ed WHIRLPOOL ffad5a4d4455c79cfbf3f94e0d86769f30240c73695b25822c5d2a84f14668d6416bdcc4f2550efbf4c09edddfd3b9f7128082b863810cdb6d54d5808ba85afe
diff --git a/sys-apps/moreutils/moreutils-0.59.ebuild b/sys-apps/moreutils/moreutils-0.59.ebuild
new file mode 100644
index 000000000000..0ef655fdf55c
--- /dev/null
+++ b/sys-apps/moreutils/moreutils-0.59.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="a collection of tools that nobody thought to write when Unix was young"
+HOMEPAGE="http://joeyh.name/code/moreutils/"
+SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-linux"
+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}/${P}.orig
+
+src_prepare() {
+ # don't build manpages
+ if ! use doc ; then
+ sed -i -e '/^all:/s/$(MANS)//' -e '/man1/d' Makefile || die
+ fi
+
+ # don't install perl scripts
+ if ! use perl ; then
+ sed -i -e '/PERLSCRIPTS/d' Makefile || die
+ fi
+
+ default
+}
+
+src_compile() {
+ tc-export CC
+ emake CFLAGS="${CFLAGS}" DOCBOOK2XMAN=docbook2man.pl PREFIX="${EPREFIX}/usr"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" INSTALL_BIN=install install
+
+ # sys-process is more advanced than parallel from moreutils, rename it
+ if use doc; then
+ mv "${ED}"usr/share/man/man1/{,${PN}_}parallel.1 || die
+ fi
+ mv "${ED}"usr/bin/{,${PN}_}parallel || die
+}