diff options
author | Tim Harder <radhermit@gentoo.org> | 2016-08-18 23:23:57 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2016-08-18 23:23:57 -0400 |
commit | 93bd1896f03d2f68a4e24f786fbfce75e0b83e18 (patch) | |
tree | 8d4c08df0606608fefc3aaa1ba840e12ea7fe8fb | |
parent | dev-libs/cdk: version bump to 5.0.20150928 (diff) | |
download | gentoo-93bd1896f03d2f68a4e24f786fbfce75e0b83e18.tar.gz gentoo-93bd1896f03d2f68a4e24f786fbfce75e0b83e18.tar.bz2 gentoo-93bd1896f03d2f68a4e24f786fbfce75e0b83e18.zip |
sys-apps/moreutils: version bump to 0.60
-rw-r--r-- | sys-apps/moreutils/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/moreutils/moreutils-0.60.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/sys-apps/moreutils/Manifest b/sys-apps/moreutils/Manifest index b5d70ce52423..1009e269f380 100644 --- a/sys-apps/moreutils/Manifest +++ b/sys-apps/moreutils/Manifest @@ -1,3 +1,4 @@ +DIST moreutils-0.60.tar.gz 93137 SHA256 a095e9647ccde72d43a4d39ee215c6ac59a00b2cd1da17ccbcaf70e3923ae011 SHA512 b09b81606fc307abe26173fbd2e50ab3ee84db53b7242dc57a0747a83489088b1702435cfad5a171af00d56ab154b9d4c3062a3d4ac7c002dc03315c6fca0cab WHIRLPOOL 9d0183cf422a408957ccf027f5f141cae11ab5b99eaeff2b3a5949b88d87544b865a3466286a2e2208103bda7a91728f3ec5078361940d6ce3bc058277ba568a DIST moreutils_0.50.tar.gz 46952 SHA256 4df833f17c2c6781c1d500ac51455af1929db5aeb96d06e45b00489393b37714 SHA512 d83a0552693cf32509b5ea2bf781e5f415d6a78470200234f1f18197d2d1f7ffefb0eed0a5cb09737211dc35009d175cf261651a7d9af99ead7df2b2161b9e54 WHIRLPOOL ac74c23824d76e97b410bde0e345f358fa8817e55e94380bdb5b1906d4d737853885238bd346397cfbc4baa29e9e6a756c4c6b8c1c2af1e7a070da2d0841ab5a DIST moreutils_0.51.tar.gz 47404 SHA256 579e1e61f874d105ec3b6cf898a3ce7e487a58773a44769ce34c2fc7315cb141 SHA512 d81e2a51d5a7740590bebef7db929a0296f73fe3d58a58e3524cbe8392b3ba8c77769136327784bda0c23558a2b4109ec84c263a48abfa3a1fbdaeef12e877aa WHIRLPOOL 7fbbae5937ca9e634ba888fa99090c534f7c43618ab227f06725d68f36294816ecbdb2e81bdb66db95d2486ca39135f7ea86220dd793e2bbd36f6a6d4e25e79e DIST moreutils_0.52.tar.gz 47511 SHA256 c4bcf2f5bac09312ed5aa48d2cecd77a1c9609017b7a2acb2ac9fdd197480ffb SHA512 a2d9380bcaa1cefc1c1c744e71bf551fadeee4a76d7fac67051d4ca746e8f8df2a1c0a8e5721b430223958208189931168885777a5a0cb1ca66dc74421ef5b1b WHIRLPOOL e78fc1d9299e1dd2c333e895323566dac25cbe513d5ecddbfeee6104d1d925a4e67d3bcf1195dd4faf44b025e7619d15a4c257fc37150bc77bff42bfe9cb8b5a diff --git a/sys-apps/moreutils/moreutils-0.60.ebuild b/sys-apps/moreutils/moreutils-0.60.ebuild new file mode 100644 index 000000000000..b58a14ff9318 --- /dev/null +++ b/sys-apps/moreutils/moreutils-0.60.ebuild @@ -0,0 +1,59 @@ +# 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" +SRC_URI="https://dev.gentoo.org/~radhermit/dist/${P}.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 + + 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 +} |