summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-04 00:06:53 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-07-04 00:06:53 +0000
commit59f62946e9b6b51ed284fa2f7a12f7043beb511a (patch)
treeddd744b553e08933e3aaa0d1b0b0d5ba82fcf6cd /app-i18n/scim-anthy/scim-anthy-1.0.0.ebuild
parentFix building with autoconf 2.60, change the pkg_setup with a check built_with... (diff)
downloadgentoo-2-59f62946e9b6b51ed284fa2f7a12f7043beb511a.tar.gz
gentoo-2-59f62946e9b6b51ed284fa2f7a12f7043beb511a.tar.bz2
gentoo-2-59f62946e9b6b51ed284fa2f7a12f7043beb511a.zip
Add nls useflag and related dependencies, disable static libraries and dependency tracking, remove old versions.
(Portage version: 2.1.1_pre2-r2)
Diffstat (limited to 'app-i18n/scim-anthy/scim-anthy-1.0.0.ebuild')
-rw-r--r--app-i18n/scim-anthy/scim-anthy-1.0.0.ebuild20
1 files changed, 16 insertions, 4 deletions
diff --git a/app-i18n/scim-anthy/scim-anthy-1.0.0.ebuild b/app-i18n/scim-anthy/scim-anthy-1.0.0.ebuild
index 8045a37fdb5e..664cd3f93064 100644
--- a/app-i18n/scim-anthy/scim-anthy-1.0.0.ebuild
+++ b/app-i18n/scim-anthy/scim-anthy-1.0.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-anthy/scim-anthy-1.0.0.ebuild,v 1.2 2006/04/02 01:17:57 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-anthy/scim-anthy-1.0.0.ebuild,v 1.3 2006/07/04 00:06:52 flameeyes Exp $
inherit libtool
@@ -11,12 +11,16 @@ SRC_URI="mirror://sourceforge.jp/scim-imengine/19544/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
+IUSE="nls"
DEPEND="|| ( >=app-i18n/scim-1.2 >=app-i18n/scim-cvs-1.2 )
- || ( >=app-i18n/anthy-5900 >=app-i18n/anthy-ss-5911 )"
+ || ( >=app-i18n/anthy-5900 >=app-i18n/anthy-ss-5911 )
+ nls? ( virtual/libintl )"
RDEPEND="${DEPEND}
app-dicts/kasumi"
+DEPEND="${DEPEND}
+ nls? ( sys-devel/gettext )
+ dev-util/pkgconfig"
src_unpack() {
unpack ${A}
@@ -25,8 +29,16 @@ src_unpack() {
elibtoolize
}
+src_compile() {
+ econf \
+ $(use_enable nls) \
+ --disable-static \
+ --disable-dependency-tracking || die "econf failed"
+ emake || die "emake failed"
+}
+
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS THANKS README
}