net-dns/idnkit: Version 2.3.
authorJeroen Roovers <jer@gentoo.org>
Thu, 1 Mar 2018 20:27:07 +0000 (21:27 +0100)
committerJeroen Roovers <jer@gentoo.org>
Thu, 1 Mar 2018 20:28:40 +0000 (21:28 +0100)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

net-dns/idnkit/Manifest
net-dns/idnkit/files/idnkit-2.3-log_h.patch [new file with mode: 0644]
net-dns/idnkit/idnkit-2.3.ebuild [new file with mode: 0644]
net-dns/idnkit/metadata.xml

index d21950c3f52b106a019d1378bbecbd52fdd777bd..05f1c89fabbdce417b9886fbbaae159a4784a351 100644 (file)
@@ -1 +1,2 @@
 DIST idnkit-1.0-src.tar.gz 432823 BLAKE2B 4e96bed174ea704ec0eb5c6655cb65145ed808b2bf9582ec9b6dcb8606de7a006937a2f8d8fce386dbc328e074b95ca504464c1ed6d16acc7be82d9904f2c2b4 SHA512 74f2db007a1991610f62a7a060d534f724f08395a16a7d76fda0824e9017aa47ffe4e251c90d0481218b70534fcd2b32724a66223042f59c1e16c1ff39f3be19
+DIST idnkit-2.3.tar.bz2 1473267 BLAKE2B efc2a93527c217b32bfd0e2546944b30d39c3fa046e17c11f2084721f966dc838bfa821c88378c0604cbeafb8d4970cf3c19122182448d5e48c2d392a42225c6 SHA512 a0cbc111d4b7d5f444c9b79ae76378fd2edf18097adca27d5ebf811e12091f609ec45d2c62a95b1e295bd1fa644bd8a38d79841f7f4e85dcd1f6a1cd5ca622e4
diff --git a/net-dns/idnkit/files/idnkit-2.3-log_h.patch b/net-dns/idnkit/files/idnkit-2.3-log_h.patch
new file mode 100644 (file)
index 0000000..975ea0b
--- /dev/null
@@ -0,0 +1,38 @@
+net-dns/bind-tools uses idn/log.h
+
+--- a/include/Makefile.am
++++ b/include/Makefile.am
+@@ -1,6 +1,7 @@
+ nobase_include_HEADERS = \
+       idn/api.h \
+       idn/export.h \
++      idn/log.h \
+       idn/res.h \
+       idn/resconf.h \
+       idn/result.h
+@@ -22,7 +23,6 @@
+       idn/langlocalmap.h \
+       idn/localconverter.h \
+       idn/localencoding.h \
+-      idn/log.h \
+       idn/logmacro.h \
+       idn/lowercasemap.h \
+       idn/maplist.h \
+--- a/include/Makefile.in
++++ b/include/Makefile.in
+@@ -226,6 +226,7 @@
+ nobase_include_HEADERS = \
+       idn/api.h \
+       idn/export.h \
++      idn/log.h \
+       idn/res.h \
+       idn/resconf.h \
+       idn/result.h
+@@ -247,7 +248,6 @@
+       idn/langlocalmap.h \
+       idn/localconverter.h \
+       idn/localencoding.h \
+-      idn/log.h \
+       idn/logmacro.h \
+       idn/lowercasemap.h \
+       idn/maplist.h \
diff --git a/net-dns/idnkit/idnkit-2.3.ebuild b/net-dns/idnkit/idnkit-2.3.ebuild
new file mode 100644 (file)
index 0000000..6935a92
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit ltprune
+
+DESCRIPTION="Toolkit for Internationalized Domain Names (IDN)"
+HOMEPAGE="https://jprs.co.jp/idn/"
+SRC_URI="${HOMEPAGE}${P}.tar.bz2"
+
+LICENSE="JPRS"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="liteonly static-libs"
+DEPEND="
+       virtual/libiconv
+"
+RDEPEND="
+       ${DEPEND}
+"
+PATCHES=(
+       "${FILESDIR}"/${PN}-2.3-log_h.patch
+)
+
+src_configure() {
+       econf \
+               $(use_enable static-libs static) \
+               $(use_enable liteonly)
+}
+
+src_install() {
+       default
+
+       prune_libtool_files
+}
index f8bd6f3f34f9606dd83e1bf2103d17d6ff9a2d5e..568bd4ccbd6d6878471279ae9c8c39c2aad0663f 100644 (file)
@@ -1,8 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-       <maintainer type="person">
-               <email>jer@gentoo.org</email>
-               <name>Jeroen Roovers</name>
-       </maintainer>
+<maintainer type="person">
+<email>jer@gentoo.org</email>
+</maintainer>
+<use>
+<flag name="liteonly">Compile and install lite library only</flag>
+</use>
 </pkgmetadata>