/[gentoo-x86]/net-dns/idnkit/idnkit-1.0-r2.ebuild
Gentoo

Contents of /net-dns/idnkit/idnkit-1.0-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Fri Mar 2 20:58:22 2012 UTC (2 years, 4 months ago) by ranger
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -2 lines
Marking idnkit-1.0-r2 ppc64 for bug 400433

(Portage version: 2.1.10.11/cvs/Linux ppc64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-dns/idnkit/idnkit-1.0-r2.ebuild,v 1.8 2012/02/03 23:02:05 ranger Exp $
4
5 EAPI="4"
6
7 inherit autotools eutils fixheadtails
8
9 DESCRIPTION="Toolkit for Internationalized Domain Names (IDN)"
10 HOMEPAGE="http://www.nic.ad.jp/ja/idn/idnkit/download/"
11 SRC_URI="http://www.nic.ad.jp/ja/idn/idnkit/download/sources/${P}-src.tar.gz"
12
13 LICENSE="JNIC"
14 SLOT="0"
15 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
16 IUSE="static-libs"
17
18 DEPEND="virtual/libiconv"
19
20 S=${WORKDIR}/${P}-src
21
22 src_prepare() {
23 ht_fix_all
24 # Bug 263135, old broken libtool bundled
25 rm -f aclocal.m4 || die "rm failed"
26 epatch "${FILESDIR}/${P}-autotools.patch"
27 eautoreconf
28 }
29
30 src_configure() {
31 myconf=""
32 if has_version dev-libs/libiconv; then
33 myconf="--with-iconv"
34 fi
35 econf $(use_enable static-libs static) ${myconf}
36 }
37
38 src_install() {
39 default
40 if ! use static-libs; then
41 rm -f "${D}"/usr/lib*/lib*.la
42 fi
43 dodoc ChangeLog DISTFILES NEWS README README.ja
44 }

  ViewVC Help
Powered by ViewVC 1.1.20