From: | "Jeroen Roovers (jer)" <jer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/pv: pv-1.2.0-r1.ebuild ChangeLog |
Date: | Mon, 06 Feb 2012 01:48:08 |
Message-Id: | 20120206014756.012942004B@flycatcher.gentoo.org |
1 | jer 12/02/06 01:47:55 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pv-1.2.0-r1.ebuild |
5 | Log: |
6 | Add LINGUAS support by Piotr Szymaniak (bug #402295). |
7 | |
8 | (Portage version: 2.2.0_alpha85/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.27 sys-apps/pv/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pv/ChangeLog?rev=1.27&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pv/ChangeLog?rev=1.27&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pv/ChangeLog?r1=1.26&r2=1.27 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/pv/ChangeLog,v |
20 | retrieving revision 1.26 |
21 | retrieving revision 1.27 |
22 | diff -u -r1.26 -r1.27 |
23 | --- ChangeLog 22 Dec 2011 14:35:56 -0000 1.26 |
24 | +++ ChangeLog 6 Feb 2012 01:47:55 -0000 1.27 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for sys-apps/pv |
27 | -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pv/ChangeLog,v 1.26 2011/12/22 14:35:56 jer Exp $ |
29 | +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pv/ChangeLog,v 1.27 2012/02/06 01:47:55 jer Exp $ |
31 | + |
32 | +*pv-1.2.0-r1 (06 Feb 2012) |
33 | + |
34 | + 06 Feb 2012; Jeroen Roovers <jer@g.o> +pv-1.2.0-r1.ebuild: |
35 | + Add LINGUAS support by Piotr Szymaniak (bug #402295). |
36 | |
37 | 22 Dec 2011; Jeroen Roovers <jer@g.o> pv-1.2.0.ebuild: |
38 | Simpler and shorter by Mike Frysinger. |
39 | |
40 | |
41 | |
42 | 1.1 sys-apps/pv/pv-1.2.0-r1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pv/pv-1.2.0-r1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pv/pv-1.2.0-r1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: pv-1.2.0-r1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2012 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/pv/pv-1.2.0-r1.ebuild,v 1.1 2012/02/06 01:47:55 jer Exp $ |
52 | |
53 | EAPI="4" |
54 | |
55 | inherit toolchain-funcs |
56 | |
57 | DESCRIPTION="Pipe Viewer: a tool for monitoring the progress of data through a pipe" |
58 | HOMEPAGE="http://www.ivarch.com/programs/pv.shtml" |
59 | SRC_URI="http://pipeviewer.googlecode.com/files/${P}.tar.bz2" |
60 | |
61 | LICENSE="Artistic-2" |
62 | SLOT="0" |
63 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris ~x86-solaris" |
64 | |
65 | IUSE="nls" |
66 | PV_LINGUAS="de fr pl pt" |
67 | for lingua in ${PV_LINGUAS}; do |
68 | IUSE+=" linguas_${lingua}" |
69 | done |
70 | |
71 | DOCS=( README doc/NEWS doc/TODO ) |
72 | |
73 | src_configure() { |
74 | econf $(use_enable nls) |
75 | } |
76 | |
77 | src_compile() { |
78 | emake LD="$(tc-getLD)" |
79 | } |
80 | |
81 | src_install() { |
82 | default |
83 | local lingua="" |
84 | for lingua in ${PV_LINGUAS}; do |
85 | if ! use linguas_$lingua; then |
86 | rm -rf "${D}"/usr/share/locale/$lingua || die |
87 | fi |
88 | done |
89 | } |