aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-net-libidn
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2015-06-10 07:59:09 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-06-10 08:00:26 +0000
commit70a0d292421cd75f32c6ad60be6d67ff995012cb (patch)
tree0ac9040d829706cc075cb11af786b4adda9d1105 /main/perl-net-libidn
parent016a6da509197a5ada5a165f332a82848e56d48b (diff)
downloadaports-70a0d292421cd75f32c6ad60be6d67ff995012cb.tar.bz2
aports-70a0d292421cd75f32c6ad60be6d67ff995012cb.tar.xz
main/perl-net-libidn: new aport
Diffstat (limited to 'main/perl-net-libidn')
-rw-r--r--main/perl-net-libidn/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/main/perl-net-libidn/APKBUILD b/main/perl-net-libidn/APKBUILD
new file mode 100644
index 0000000000..363af64b19
--- /dev/null
+++ b/main/perl-net-libidn/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-net-libidn
+_realname=Net-LibIDN
+pkgver=0.12
+pkgrel=0
+pkgdesc="Perl bindings for GNU Libidn"
+url="http://www.net-dns.org/"
+arch="all"
+license="Unknown"
+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 || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+ # creates file collision among perl modules
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="c3e4de2065009d67bcb1df0afb473e12 Net-LibIDN-0.12.tar.gz"
+sha256sums="2f8acc9442b3866ec7dc63cd449fc693ae3e930d5d3e5e9430fbb6f393bdbb17 Net-LibIDN-0.12.tar.gz"
+sha512sums="2c80d0e3d4635e225e8866a1ef6335e3b8642662101e89fde6529aa07acc1eaf8adbe20fadd1d44898651f9d67a3d00c11ff71a22a2aa3027e81643e700d79ee Net-LibIDN-0.12.tar.gz"