summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/Net-LibIDN2')
-rw-r--r--dev-perl/Net-LibIDN2/Manifest1
-rw-r--r--dev-perl/Net-LibIDN2/Net-LibIDN2-1.10.0.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-perl/Net-LibIDN2/Manifest b/dev-perl/Net-LibIDN2/Manifest
index 74268be1012f..d32c69176ee9 100644
--- a/dev-perl/Net-LibIDN2/Manifest
+++ b/dev-perl/Net-LibIDN2/Manifest
@@ -1 +1,2 @@
DIST Net-LibIDN2-1.00.tar.gz 23603 BLAKE2B 61d16265263e934c45cbed9427636e73a2abae8f41f7294d4b682b0129c2a7bb2c316f522b5ee36988a0d860b53514f6c44d360c12479f26887a0d2873741993 SHA512 0b0c3bba9b2c8e748fd416ba465e6b4eb76fbdad1ee2d3459be032b7d5bdb0706da97e8ebb9de57a92acae06ce84aed357f5baa516ad40268797abda6d7fb38e
+DIST Net-LibIDN2-1.01.tar.gz 24496 BLAKE2B 7373448c9085834301b23c4b16a653624b91b443d240d8a608e2bb9d3e51472508f43a89ea78aa26b47480a60c8055a6879ce7390a222b74d469e6a2e01d1f98 SHA512 b3eb430c99a458e9e5fbd16fb6b059bd660a995be7ebe806b44b46160db7a5502806d503ec03667ef9865634f403db2e665c3dcad58f4e221e918ef4d78eabd0
diff --git a/dev-perl/Net-LibIDN2/Net-LibIDN2-1.10.0.ebuild b/dev-perl/Net-LibIDN2/Net-LibIDN2-1.10.0.ebuild
new file mode 100644
index 000000000000..bb17b04b2334
--- /dev/null
+++ b/dev-perl/Net-LibIDN2/Net-LibIDN2-1.10.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=THOR
+DIST_VERSION=1.01
+inherit perl-module
+
+DESCRIPTION="Perl bindings for GNU Libidn2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+RDEPEND="net-dns/libidn2:="
+DEPEND="net-dns/libidn2:="
+BDEPEND="${RDEPEND}
+ dev-perl/Module-Build
+ virtual/perl-ExtUtils-CBuilder
+ virtual/perl-ExtUtils-ParseXS
+ dev-perl/Module-Build
+ test? (
+ >=virtual/perl-Test-Simple-0.10.0
+ )
+"
+
+src_configure() {
+ unset LD
+ [[ -n "${CCLD}" ]] && export LD="${CCLD}"
+ perl-module_src_configure
+}
+
+src_compile() {
+ ./Build --config optimize="${CFLAGS}" build || die
+}