summaryrefslogtreecommitdiffstats
path: root/testing/perl-net-patricia/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/perl-net-patricia/APKBUILD')
-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 000000000..1e614026d
--- /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"