diff options
author | Sam James <sam@gentoo.org> | 2023-03-14 02:09:31 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-03-14 02:09:31 +0000 |
commit | ca3dab7bec9338c8659638f487cdad4863d7f30f (patch) | |
tree | e6058761df97541c1074804c03590de458691a40 /dev-perl/Net-LibIDN2 | |
parent | dev-python/hypothesis: Stabilize 6.68.0 ALLARCHES, #901049 (diff) | |
download | gentoo-ca3dab7bec9338c8659638f487cdad4863d7f30f.tar.gz gentoo-ca3dab7bec9338c8659638f487cdad4863d7f30f.tar.bz2 gentoo-ca3dab7bec9338c8659638f487cdad4863d7f30f.zip |
dev-perl/Net-LibIDN2: add 1.20.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-perl/Net-LibIDN2')
-rw-r--r-- | dev-perl/Net-LibIDN2/Manifest | 1 | ||||
-rw-r--r-- | dev-perl/Net-LibIDN2/Net-LibIDN2-1.20.0.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-perl/Net-LibIDN2/Manifest b/dev-perl/Net-LibIDN2/Manifest index 9396c2cf892c..2d175a9183f6 100644 --- a/dev-perl/Net-LibIDN2/Manifest +++ b/dev-perl/Net-LibIDN2/Manifest @@ -1 +1,2 @@ DIST Net-LibIDN2-1.01.tar.gz 24496 BLAKE2B 7373448c9085834301b23c4b16a653624b91b443d240d8a608e2bb9d3e51472508f43a89ea78aa26b47480a60c8055a6879ce7390a222b74d469e6a2e01d1f98 SHA512 b3eb430c99a458e9e5fbd16fb6b059bd660a995be7ebe806b44b46160db7a5502806d503ec03667ef9865634f403db2e665c3dcad58f4e221e918ef4d78eabd0 +DIST Net-LibIDN2-1.02.tar.gz 24518 BLAKE2B 0ccbadd445fcec84d082acdc6c43566a50276fc9bb4cc5a1e954761889b2712c8fde4012e1ffacfefcea796d7d04698a74928895ce822ef84d74f44c97b36b37 SHA512 c421b6a675e08993d0e9ae4cb11a666d3ecd9cd11c112399ce2d2ec49c3b21e462fe0e6043d3dc821bc31f4880b3b0415ce16f946cc537101a633b8d19234855 diff --git a/dev-perl/Net-LibIDN2/Net-LibIDN2-1.20.0.ebuild b/dev-perl/Net-LibIDN2/Net-LibIDN2-1.20.0.ebuild new file mode 100644 index 000000000000..d6fc2ff67582 --- /dev/null +++ b/dev-perl/Net-LibIDN2/Net-LibIDN2-1.20.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=THOR +DIST_VERSION=1.02 +inherit perl-module + +DESCRIPTION="Perl bindings for GNU Libidn2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~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 +} |