/[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.10 - (show annotations) (download)
Tue May 26 01:43:59 2015 UTC (2 months, 1 week ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +8 -10 lines
Add arm64/m68k love and modernize the ebuild.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

1 # Copyright 1999-2015 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.9 2012/03/02 20:58:22 ranger Exp $
4
5 EAPI="5"
6
7 inherit autotools eutils
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 arm64 hppa ia64 m68k ~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 # Bug 263135, old broken libtool bundled
24 rm -f aclocal.m4 || die "rm failed"
25 epatch "${FILESDIR}/${P}-autotools.patch"
26 mv configure.{in,ac} || die
27 eautoreconf
28 }
29
30 src_configure() {
31 local 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 use static-libs || find "${ED}" -name 'lib*.la' -delete
41 dodoc ChangeLog DISTFILES NEWS README README.ja
42 }

  ViewVC Help
Powered by ViewVC 1.1.20