Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/moreutils: moreutils-0.51.ebuild ChangeLog
Date: Sat, 01 Mar 2014 07:40:15
Message-Id: 20140301074012.64F1B2004C@flycatcher.gentoo.org
1 radhermit 14/03/01 07:40:12
2
3 Modified: ChangeLog
4 Added: moreutils-0.51.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.63 sys-apps/moreutils/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/moreutils/ChangeLog?rev=1.63&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/moreutils/ChangeLog?rev=1.63&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/moreutils/ChangeLog?r1=1.62&r2=1.63
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/moreutils/ChangeLog,v
20 retrieving revision 1.62
21 retrieving revision 1.63
22 diff -u -r1.62 -r1.63
23 --- ChangeLog 14 Jan 2014 13:58:54 -0000 1.62
24 +++ ChangeLog 1 Mar 2014 07:40:12 -0000 1.63
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-apps/moreutils
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/moreutils/ChangeLog,v 1.62 2014/01/14 13:58:54 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/moreutils/ChangeLog,v 1.63 2014/03/01 07:40:12 radhermit Exp $
30 +
31 +*moreutils-0.51 (01 Mar 2014)
32 +
33 + 01 Mar 2014; Tim Harder <radhermit@g.o> +moreutils-0.51.ebuild:
34 + Version bump.
35
36 14 Jan 2014; Agostino Sarubbo <ago@g.o> moreutils-0.50.ebuild:
37 Stable for x86, wrt bug #495930
38
39
40
41 1.1 sys-apps/moreutils/moreutils-0.51.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/moreutils/moreutils-0.51.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/moreutils/moreutils-0.51.ebuild?rev=1.1&content-type=text/plain
45
46 Index: moreutils-0.51.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-apps/moreutils/moreutils-0.51.ebuild,v 1.1 2014/03/01 07:40:12 radhermit Exp $
51
52 EAPI=5
53 inherit eutils toolchain-funcs
54
55 DESCRIPTION="a growing collection of the unix tools that nobody thought to write thirty years ago"
56 HOMEPAGE="http://joeyh.name/code/moreutils/"
57 SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-linux"
62 IUSE="+doc +perl"
63
64 RDEPEND="
65 perl? (
66 dev-lang/perl
67 dev-perl/IPC-Run
68 dev-perl/Time-Duration
69 dev-perl/TimeDate
70 )"
71 DEPEND="
72 doc? (
73 dev-lang/perl
74 >=app-text/docbook2X-0.8.8-r2
75 app-text/docbook-xml-dtd:4.4
76 )"
77
78 S=${WORKDIR}/${PN}
79
80 src_prepare() {
81 # don't build manpages
82 if ! use doc ; then
83 sed -i -e '/^all:/s/$(MANS)//' -e '/man1/d' Makefile || die
84 fi
85
86 # don't install perl scripts
87 if ! use perl ; then
88 sed -i -e '/PERLSCRIPTS/d' Makefile || die
89 fi
90 }
91
92 src_compile() {
93 tc-export CC
94 emake CFLAGS="${CFLAGS}" DOCBOOK2XMAN=docbook2man.pl PREFIX="${EPREFIX}/usr"
95 }
96
97 src_install() {
98 emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" INSTALL_BIN=install install
99
100 # sys-process is more advanced than parallel from moreutils, rename it
101 if use doc; then
102 mv "${ED}"usr/share/man/man1/{,${PN}_}parallel.1 || die
103 fi
104 mv "${ED}"usr/bin/{,${PN}_}parallel || die
105 }