aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-net-patricia
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2013-09-04 08:56:25 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2013-09-04 09:04:47 +0000
commit9150bb315cbca8b1fb7d9e4af88377c6f51c0ab5 (patch)
treec0abd29409aaec4982878ccfd3d20d4ffd49c5e3 /testing/perl-net-patricia
parent4b12aca24b8b0e404406cc0404359b3cd5a6774a (diff)
downloadaports-9150bb315cbca8b1fb7d9e4af88377c6f51c0ab5.tar.bz2
aports-9150bb315cbca8b1fb7d9e4af88377c6f51c0ab5.tar.xz
testing/perl-net-patricia: new aport
Diffstat (limited to 'testing/perl-net-patricia')
-rw-r--r--testing/perl-net-patricia/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-net-patricia/APKBUILD b/testing/perl-net-patricia/APKBUILD
new file mode 100644
index 0000000000..1e614026d2
--- /dev/null
+++ b/testing/perl-net-patricia/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=perl-net-patricia
+_pkgreal=Net-Patricia
+pkgver=1.20
+pkgrel=0
+pkgdesc="unknown"
+url="http://search.cpan.org/dist/Net-Patricia/"
+arch="all"
+license="GPL PerlArtistic"
+cpandepends="perl-net-cidr-lite perl-socket6"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/G/GR/GRUBER/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="d5499f5bc1d6c36538a84153095ea11f Net-Patricia-1.20.tar.gz"
+sha256sums="bbec37f44384346b53daf2599bf1a3dd0726cde946e7cff56f3f6ac0ace072ef Net-Patricia-1.20.tar.gz"
+sha512sums="27ae23b86ed2b2b0e1439d33a167f6b83d636f33c4e3bed6ac3967eaa10a3350645d3ec509e0949db8b290e608f2bc4207370ab075be30177ac1e2a9367f0448 Net-Patricia-1.20.tar.gz"