summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-01-26 06:42:55 +0000
committerJeroen Roovers <jer@gentoo.org>2012-01-26 06:42:55 +0000
commit7694dfaaf86df7e50cbff2e8cc6c48f81d1a8ede (patch)
treed8bb12f4768d8bba13e881fc8571698071fae2f4 /dev-util/cppi
parentMarked ~amd64 too. (diff)
downloadgentoo-2-7694dfaaf86df7e50cbff2e8cc6c48f81d1a8ede.tar.gz
gentoo-2-7694dfaaf86df7e50cbff2e8cc6c48f81d1a8ede.tar.bz2
gentoo-2-7694dfaaf86df7e50cbff2e8cc6c48f81d1a8ede.zip
Add LINGUAS support.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/cppi')
-rw-r--r--dev-util/cppi/ChangeLog5
-rw-r--r--dev-util/cppi/cppi-1.16.ebuild19
2 files changed, 20 insertions, 4 deletions
diff --git a/dev-util/cppi/ChangeLog b/dev-util/cppi/ChangeLog
index 17ff14ccef34..3395ea5f3d44 100644
--- a/dev-util/cppi/ChangeLog
+++ b/dev-util/cppi/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/cppi
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cppi/ChangeLog,v 1.5 2012/01/26 06:27:40 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cppi/ChangeLog,v 1.6 2012/01/26 06:42:55 jer Exp $
+
+ 26 Jan 2012; Jeroen Roovers <jer@gentoo.org> cppi-1.16.ebuild:
+ Add LINGUAS support.
26 Jan 2012; Jeroen Roovers <jer@gentoo.org> cppi-1.16.ebuild:
Marked ~amd64 too.
diff --git a/dev-util/cppi/cppi-1.16.ebuild b/dev-util/cppi/cppi-1.16.ebuild
index 8a24f45bac44..1e46e21779e0 100644
--- a/dev-util/cppi/cppi-1.16.ebuild
+++ b/dev-util/cppi/cppi-1.16.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cppi/cppi-1.16.ebuild,v 1.2 2012/01/26 06:27:40 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cppi/cppi-1.16.ebuild,v 1.3 2012/01/26 06:42:55 jer Exp $
EAPI=4
@@ -11,8 +11,21 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="nls"
-DEPEND="app-arch/xz-utils"
+CPPI_LINGUAS="sv eo fi vi it uk sr fr ja pl"
+
+for lingua in ${CPPI_LINGUAS}; do
+ IUSE+=" linguas_${lingua}"
+done
+
+DEPEND="
+ app-arch/xz-utils
+ nls? ( sys-devel/gettext )
+"
DOCS=( AUTHORS ChangeLog NEWS THANKS TODO )
+
+src_configure() {
+ econf $(use_enable nls)
+}