diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-26 19:10:59 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-26 19:10:59 -0500 |
commit | 2715c8f1e5f1d0d1c7d13ad24e639d3867244675 (patch) | |
tree | f1ac0c0da874f28d2b5bb1855834a5f94041f272 /system/perl-net-libidn | |
parent | ae0d40a7aafef1e14fae03c2bd164509aeeaec55 (diff) | |
download | packages-2715c8f1e5f1d0d1c7d13ad24e639d3867244675.tar.gz packages-2715c8f1e5f1d0d1c7d13ad24e639d3867244675.tar.bz2 packages-2715c8f1e5f1d0d1c7d13ad24e639d3867244675.tar.xz packages-2715c8f1e5f1d0d1c7d13ad24e639d3867244675.zip |
system/perl-net-libidn: pull in for perl-io-socket-ssl
Diffstat (limited to 'system/perl-net-libidn')
-rw-r--r-- | system/perl-net-libidn/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/system/perl-net-libidn/APKBUILD b/system/perl-net-libidn/APKBUILD new file mode 100644 index 000000000..290e9b600 --- /dev/null +++ b/system/perl-net-libidn/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-net-libidn +_realname=Net-LibIDN +pkgver=0.12 +pkgrel=4 +pkgdesc="Perl bindings for libidn" +url="http://www.net-dns.org/" +arch="all" +license="GPL-2.0-only OR Artistic-1.0-Perl" +depends="perl" +makedepends="libidn-dev perl-dev" +install="" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/T/TH/THOR/$_realname-$pkgver.tar.gz" +builddir="$srcdir/$_realname-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + # creates file collision among perl modules + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="2c80d0e3d4635e225e8866a1ef6335e3b8642662101e89fde6529aa07acc1eaf8adbe20fadd1d44898651f9d67a3d00c11ff71a22a2aa3027e81643e700d79ee Net-LibIDN-0.12.tar.gz" |