diff options
author | Tim Harder <radhermit@gentoo.org> | 2016-03-12 02:13:25 -0500 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2016-03-12 02:13:25 -0500 |
commit | 5f1d9bab6ef8065a42f37f512803b63eae49ebac (patch) | |
tree | bb64be55180abeefde2ce58f5cbb0800f8ad4c90 /sys-apps/moreutils | |
parent | net-misc/proxychains: remove old (diff) | |
download | gentoo-5f1d9bab6ef8065a42f37f512803b63eae49ebac.tar.gz gentoo-5f1d9bab6ef8065a42f37f512803b63eae49ebac.tar.bz2 gentoo-5f1d9bab6ef8065a42f37f512803b63eae49ebac.zip |
sys-apps/moreutils: version bump to 0.58
Diffstat (limited to 'sys-apps/moreutils')
-rw-r--r-- | sys-apps/moreutils/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/moreutils/moreutils-0.58.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/sys-apps/moreutils/Manifest b/sys-apps/moreutils/Manifest index ec77e61a72c2..43e221943d8d 100644 --- a/sys-apps/moreutils/Manifest +++ b/sys-apps/moreutils/Manifest @@ -6,3 +6,4 @@ DIST moreutils_0.54.orig.tar.gz 45575 SHA256 50281c4d6bbbc8ab08f881c44a01c367049 DIST moreutils_0.55.orig.tar.gz 46500 SHA256 da9d5cd145ceea967a65dd50031d168d66199c3eb41b9390b57f35d4a5808ab5 SHA512 9a64057015cb9d1f957c438a35efc57c09438a033d0e58aed5e7fc0cd3c125df91b075a2f14b78d75c7e89b3b41fdba573b4cf41aba08bef7230f5a8794ee1a3 WHIRLPOOL 595692ac0d3ef5eee5323d682bd2a9e722fae2f33ef63199539d5612cc9b9a6c9a8eb96561149e13f03a6df4587532a231f7b00ff45694e2752b0753bd17efee 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 diff --git a/sys-apps/moreutils/moreutils-0.58.ebuild b/sys-apps/moreutils/moreutils-0.58.ebuild new file mode 100644 index 000000000000..01f0b4ab90d1 --- /dev/null +++ b/sys-apps/moreutils/moreutils-0.58.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit toolchain-funcs + +DESCRIPTION="a growing collection of the unix tools that nobody thought to write thirty years ago" +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 + )" + +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 +} + +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 +} |