1 |
commit: d5d67c0957df506b5ef54680274fc707b42c4337 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 15 12:23:02 2017 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 15 12:24:20 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5d67c09 |
7 |
|
8 |
net-dns/libidn2: Version bump. |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
net-dns/libidn2/Manifest | 1 + |
13 |
net-dns/libidn2/libidn2-2.0.0.ebuild | 51 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 52 insertions(+) |
15 |
|
16 |
diff --git a/net-dns/libidn2/Manifest b/net-dns/libidn2/Manifest |
17 |
index 6e94e500633..ea57bda7c61 100644 |
18 |
--- a/net-dns/libidn2/Manifest |
19 |
+++ b/net-dns/libidn2/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST libidn2-0.16.tar.gz 1494295 SHA256 2fad9efff4082ae2143f69df76339ca99379e0e0f4231455f5d3d9d2089c688f SHA512 85f41c79bd2b88f2724383461a78e56b47e52e66e3f088d631a922438742938721d26aeebef17f6ca4fd028d95dfb5b0fa298a96982ef777c07fefe5244d1e73 WHIRLPOOL be10d0e2994e4fa0e31d710b358c7375e9454b4291bd4603a683a6ddb737241442007f04893395b36d7ef636614b6982354840bb07570e2a6b8f6aa2d888996a |
22 |
+DIST libidn2-2.0.0.tar.xz 1257908 SHA256 039052f2a3c513c56b9961b8afb7379e68a0698032e228953e89b169b88d7838 SHA512 0cc199f05526edebb385cd7ca3bafca341e31cc76ef0efe7e63a07ff1d2830d9d33004dfc51aa245b42fdf0de7eeb807fd18255f58cc2b086e1155beaa738502 WHIRLPOOL daa222e6a3527cbc989a0388cb903e428acd759553e668b97f2ca2b9071067e43a6c23a8b3e52e7bbd98c71788b2ee009ce5f640a09051b5fcca04a50b543d2d |
23 |
|
24 |
diff --git a/net-dns/libidn2/libidn2-2.0.0.ebuild b/net-dns/libidn2/libidn2-2.0.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..20634db2952 |
27 |
--- /dev/null |
28 |
+++ b/net-dns/libidn2/libidn2-2.0.0.ebuild |
29 |
@@ -0,0 +1,51 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+inherit eutils flag-o-matic multilib-minimal |
35 |
+ |
36 |
+DESCRIPTION="An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)" |
37 |
+HOMEPAGE="https://www.gnu.org/software/libidn/#libidn2 https://gitlab.com/jas/libidn2" |
38 |
+SRC_URI=" |
39 |
+ mirror://gnu-alpha/libidn/${P}.tar.xz |
40 |
+" |
41 |
+ |
42 |
+LICENSE="GPL-2+ LGPL-3+" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
45 |
+IUSE="static-libs" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ dev-libs/libunistring[${MULTILIB_USEDEP}] |
49 |
+" |
50 |
+DEPEND=" |
51 |
+ ${RDEPEND} |
52 |
+ dev-lang/perl |
53 |
+ sys-apps/help2man |
54 |
+" |
55 |
+ |
56 |
+src_prepare() { |
57 |
+ default |
58 |
+ |
59 |
+ if [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] ; then |
60 |
+ # crude hack, fixed properly for next release, no error.h is present |
61 |
+ sed -i -e '/#include "error\.h"/d' src/idn2.c || die |
62 |
+ append-cppflags -D'error\(E,...\)=exit\(E\)' |
63 |
+ fi |
64 |
+ |
65 |
+ multilib_copy_sources |
66 |
+} |
67 |
+ |
68 |
+multilib_src_configure() { |
69 |
+ econf \ |
70 |
+ $(use_enable static-libs static) \ |
71 |
+ --disable-gtk-doc |
72 |
+} |
73 |
+ |
74 |
+multilib_src_install() { |
75 |
+ default |
76 |
+ |
77 |
+ rm "${D}"/usr/bin/idn2_noinstall || die |
78 |
+ |
79 |
+ prune_libtool_files |
80 |
+} |