# ChangeLog for net-dns/idnkit
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/idnkit/ChangeLog,v 1.30 2011/01/22 17:44:53 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/idnkit/ChangeLog,v 1.31 2011/10/11 15:18:36 jer Exp $
+
+*idnkit-1.0-r2 (11 Oct 2011)
+
+ 11 Oct 2011; Jeroen Roovers <jer@gentoo.org> +idnkit-1.0-r2.ebuild:
+ Introduce USE=static-libs thanks to Hans, patch by Ago (bug #386581).
22 Jan 2011; Jeroen Roovers <jer@gentoo.org>
files/idnkit-1.0-autotools.patch:
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA1
AUX idnkit-1.0-autotools.patch 1843 RMD160 4a6979488f4f4e96e19d636dd5b81a7a41fac112 SHA1 637fb53c2dc9380a5a3dca1a2e5f4652fc803ccc SHA256 50ac6a9a3a7f3e78fed6035b4625bf1e8c947e4af282762d553db994ab4d4e2e
DIST idnkit-1.0-src.tar.gz 432823 RMD160 cf79bcfc9ba2aacde26b627ded1f2fd15a414cd2 SHA1 7d843ffcf9843b7af02079e5a160520f28c75048 SHA256 16cd5fce81a5180d6a2c61cf20572668b3dc59f5c39c272b75fa98edab3391fc
EBUILD idnkit-1.0-r1.ebuild 920 RMD160 0f185bea9213826cb6b2f124a8314c2631bbc47c SHA1 290bf9ca5e777ab2642da21dadbf68619a7c0bf2 SHA256 ce463f490ea5d12d5c8fae33ede22d11a90178bae3388b6d4a841d2928bca964
-MISC ChangeLog 3240 RMD160 485dc497023dad003ff4161258ff51aa1f519648 SHA1 cfd2a2829c6437052c4346471e4b8b3d371d25e7 SHA256 a42459e54c1148f51a389f7a1580c12d09e51cd757cbe53117866b00b1e4ff22
+EBUILD idnkit-1.0-r2.ebuild 1028 RMD160 bbaeab3edb24b661b292a92106d096aca416f161 SHA1 8229605696124a68aa6e64fc73147d3e6b984cc2 SHA256 db6f468b57426d0feacda24131ea8db169520728ac1a58ff0ab6e76316e471e7
+MISC ChangeLog 3413 RMD160 9db4259006f11a7aa3bdae6369f441111676ce8a SHA1 00bfeb4e22f1748dcd4a79ca2f0687ebdd0d0005 SHA256 a6f227a95eedc2b8c2475225689c2f0b091f7d578de5f3f4c884ff3d80287871
MISC metadata.xml 230 RMD160 f4eaafe69d80938604be6213ca2529b73ced7a53 SHA1 27d0d9e737236700ad6d266c9a2fc8869f427869 SHA256 529c3320b250d179bb9e9ae651a88ba3f2a1bca78cd1ab07d5aef28d571960ce
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iJwEAQEIAAYFAk59qNwACgkQfXuS5UK5QB3wVgP+OBtkYdNKp5G84zX20jBUGWPQ
-OGkTcKJXlB/7TFYW+dkGnFfG9JlJaLoo7aPuMG6B/h4NvMUZFOLO8mzxAxeYl89W
-1kfHiqFTnF/KxLCAxwwSSdab67XiQ9Hfv7i9Lhrud8zNvbP6Jfg3VR6nZBGM/TQ+
-jhj1d/54lQT+Vy7rjkw=
-=BZgz
+iEYEARECAAYFAk6UXlIACgkQVWmRsqeSphO51wCfa4P2+9FwTs70aqmwcdFHPv97
+8KwAn2zAe4bO5ynbJiG0m4wqAhBycumb
+=S9wd
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/idnkit/idnkit-1.0-r2.ebuild,v 1.1 2011/10/11 15:18:36 jer Exp $
+
+EAPI="4"
+
+inherit autotools autotools-utils eutils fixheadtails
+
+DESCRIPTION="Toolkit for Internationalized Domain Names (IDN)"
+HOMEPAGE="http://www.nic.ad.jp/ja/idn/idnkit/download/"
+SRC_URI="http://www.nic.ad.jp/ja/idn/idnkit/download/sources/${P}-src.tar.gz"
+
+LICENSE="JNIC"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="static-libs"
+
+DEPEND="sys-libs/glibc"
+# non gnu systems need libiconv
+
+S=${WORKDIR}/${P}-src
+
+src_prepare() {
+ ht_fix_all
+ # Bug 263135, old broken libtool bundled
+ rm -f aclocal.m4 || die "rm failed"
+ epatch "${FILESDIR}/${P}-autotools.patch"
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ use static-libs || remove_libtool_files
+ dodoc ChangeLog DISTFILES NEWS README README.ja
+}