summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2015-08-24 22:33:21 -0400
committerTim Harder <radhermit@gentoo.org>2015-08-24 22:33:21 -0400
commit0b550f915bb3831760f5e98dc84b98d8ac620a8c (patch)
treead76e44babf490a6e10eaf54f804e571726c7885 /sys-apps/moreutils
parentapp-vim/fugitive: remove old (diff)
downloadgentoo-0b550f915bb3831760f5e98dc84b98d8ac620a8c.tar.gz
gentoo-0b550f915bb3831760f5e98dc84b98d8ac620a8c.tar.bz2
gentoo-0b550f915bb3831760f5e98dc84b98d8ac620a8c.zip
app-vim/moreutils: version bump
Diffstat (limited to 'sys-apps/moreutils')
-rw-r--r--sys-apps/moreutils/Manifest1
-rw-r--r--sys-apps/moreutils/moreutils-0.57.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/sys-apps/moreutils/Manifest b/sys-apps/moreutils/Manifest
index f2988ac52299..ec77e61a72c2 100644
--- a/sys-apps/moreutils/Manifest
+++ b/sys-apps/moreutils/Manifest
@@ -5,3 +5,4 @@ DIST moreutils_0.53.tar.gz 47613 SHA256 4f1842467759b6747f28a624c317a315f0b54a44
DIST moreutils_0.54.orig.tar.gz 45575 SHA256 50281c4d6bbbc8ab08f881c44a01c367049a09c19b7375023dec2543493b529f SHA512 c398ed126e5735356688654ee361063cbe8dbd76ff28aa856feb87c0a1fe812d78c2cd1ee84b029180c45161720659669960362583744ad4c9e3105c2575a2a1 WHIRLPOOL 0911b70552bcd2d542503fd3b1f84362f62b5a4719fff8aa4452774e735a28ff86f674f85ce66285fdb14e8397a65f857cfc4b86a27d81b27df9eaf8f1a8dee8
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
diff --git a/sys-apps/moreutils/moreutils-0.57.ebuild b/sys-apps/moreutils/moreutils-0.57.ebuild
new file mode 100644
index 000000000000..c0eafcc02891
--- /dev/null
+++ b/sys-apps/moreutils/moreutils-0.57.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2015 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
+}