diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-02-06 01:47:55 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-02-06 01:47:55 +0000 |
commit | f3b8f19f40126fcd8641f9d95ee7dcdb42cec97c (patch) | |
tree | 131eb0bf31a2b7ea4f043275d610e979fbfada4f /sys-apps | |
parent | Stable for HPPA (bug #401997). (diff) | |
download | historical-f3b8f19f40126fcd8641f9d95ee7dcdb42cec97c.tar.gz historical-f3b8f19f40126fcd8641f9d95ee7dcdb42cec97c.tar.bz2 historical-f3b8f19f40126fcd8641f9d95ee7dcdb42cec97c.zip |
Add LINGUAS support by Piotr Szymaniak (bug #402295).
Package-Manager: portage-2.2.0_alpha85/cvs/Linux x86_64
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/pv/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/pv/Manifest | 9 | ||||
-rw-r--r-- | sys-apps/pv/pv-1.2.0-r1.ebuild | 41 |
3 files changed, 53 insertions, 6 deletions
diff --git a/sys-apps/pv/ChangeLog b/sys-apps/pv/ChangeLog index f1120cbe2b2a..82f559488fdd 100644 --- a/sys-apps/pv/ChangeLog +++ b/sys-apps/pv/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/pv -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pv/ChangeLog,v 1.26 2011/12/22 14:35:56 jer Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pv/ChangeLog,v 1.27 2012/02/06 01:47:55 jer Exp $ + +*pv-1.2.0-r1 (06 Feb 2012) + + 06 Feb 2012; Jeroen Roovers <jer@gentoo.org> +pv-1.2.0-r1.ebuild: + Add LINGUAS support by Piotr Szymaniak (bug #402295). 22 Dec 2011; Jeroen Roovers <jer@gentoo.org> pv-1.2.0.ebuild: Simpler and shorter by Mike Frysinger. diff --git a/sys-apps/pv/Manifest b/sys-apps/pv/Manifest index 7323e0879d54..e145c71cbddb 100644 --- a/sys-apps/pv/Manifest +++ b/sys-apps/pv/Manifest @@ -2,13 +2,14 @@ Hash: SHA1 DIST pv-1.2.0.tar.bz2 82222 RMD160 3dfb7dc65c2d8032d3db1dcce27b42cc9cc14540 SHA1 bb921bca55347a1b7c6f74ce6b70cff0325499d7 SHA256 e3291f6d32f9e8a8ab8489ed68669d7df61a6eea8a6a06e7bb26b0c3e3cdc666 +EBUILD pv-1.2.0-r1.ebuild 1008 RMD160 47c2570dcd6997126afb6dc574ccc9be3978f2e2 SHA1 77b598bb8e18342b7612a3aa65be3237602fc4b4 SHA256 0ae4b9a2454d4e6bfae1381f563e33ddbb38fd58b29135637e17ed9ce3d72989 EBUILD pv-1.2.0.ebuild 735 RMD160 ab6843b830879d3c1a738b04b066c1ccff62d26b SHA1 ce56aa972ccb521be68317fb8ddc3221465545db SHA256 7a0beb891b1bfe7472c5564b8e6007a466f847fbb5ed0ace613af37aecab33cc -MISC ChangeLog 6404 RMD160 2f6528f9538bc4cc7bcc2cb1fabaa5dccefd7ea2 SHA1 282daa581399fc68f2364c660c6de2f25d7699de SHA256 149940b5b0f110aa42827afddfab1cf79e3f36b54ebe1789e60727e1afbc6358 +MISC ChangeLog 6557 RMD160 fb62a8e635c5c78b3905aa66915b8604da05bed3 SHA1 a6f164995ac206f6d35aa904d868877d1364be84 SHA256 e3993d57795e59811185548bcc3fa44895aa6a29de5197ad4230af02f18c4f84 MISC metadata.xml 229 RMD160 4a3143bd6b0708300ccc9351e2f5f6b6fd5b6984 SHA1 70b75142e2ff7adf3c7da56761d971e45f216bc9 SHA256 1697b1e8a7dd1916eb95749db17b511441f5352a459a701931f54c194f342bca -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk7zQFEACgkQVWmRsqeSphMHLgCfVOXA/SbeJRjE7bqtsH7f7i2R -Nq0AnjqL78KjaymUn5qgoTgJ5eaLzutp -=uK6z +iEYEARECAAYFAk8vMXgACgkQVWmRsqeSphO+eQCfc74zzTeli/grC3bYMJOKk2Rc +yFYAn1POQs/PAH3XSu7F0e/QsAmw0Dcb +=t90c -----END PGP SIGNATURE----- diff --git a/sys-apps/pv/pv-1.2.0-r1.ebuild b/sys-apps/pv/pv-1.2.0-r1.ebuild new file mode 100644 index 000000000000..3a1479615d23 --- /dev/null +++ b/sys-apps/pv/pv-1.2.0-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $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 $ + +EAPI="4" + +inherit toolchain-funcs + +DESCRIPTION="Pipe Viewer: a tool for monitoring the progress of data through a pipe" +HOMEPAGE="http://www.ivarch.com/programs/pv.shtml" +SRC_URI="http://pipeviewer.googlecode.com/files/${P}.tar.bz2" + +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris ~x86-solaris" + +IUSE="nls" +PV_LINGUAS="de fr pl pt" +for lingua in ${PV_LINGUAS}; do + IUSE+=" linguas_${lingua}" +done + +DOCS=( README doc/NEWS doc/TODO ) + +src_configure() { + econf $(use_enable nls) +} + +src_compile() { + emake LD="$(tc-getLD)" +} + +src_install() { + default + local lingua="" + for lingua in ${PV_LINGUAS}; do + if ! use linguas_$lingua; then + rm -rf "${D}"/usr/share/locale/$lingua || die + fi + done +} |