aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-dbm-deep
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2015-09-20 09:02:51 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-09-20 09:03:08 +0000
commit317a996404fe4c780548fc3429c93ae52fa06d82 (patch)
treeed6900bc3c0f48621f918067ea5b475a44ef0097 /testing/perl-dbm-deep
parentf10e2fac24e7e32da7447476e52db9023f78da72 (diff)
downloadaports-317a996404fe4c780548fc3429c93ae52fa06d82.tar.bz2
aports-317a996404fe4c780548fc3429c93ae52fa06d82.tar.xz
testing/perl-dbm-deep: new aport
Diffstat (limited to 'testing/perl-dbm-deep')
-rw-r--r--testing/perl-dbm-deep/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/perl-dbm-deep/APKBUILD b/testing/perl-dbm-deep/APKBUILD
new file mode 100644
index 0000000000..9034ef1e23
--- /dev/null
+++ b/testing/perl-dbm-deep/APKBUILD
@@ -0,0 +1,40 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor:
+# Maintainer:
+pkgname=perl-dbm-deep
+_pkgreal=DBM-Deep
+pkgver=2.0012
+pkgrel=0
+pkgdesc="Perl module for DBM-Deep"
+url="http://search.cpan.org/dist/DBM-Deep/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends="perl-module-build perl-test-deep perl-test-exception perl-test-warn"
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/R/RK/RKINYON/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+}
+
+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="da911dada2c978ea6bd4d1bac4b4ba46 DBM-Deep-2.0012.tar.gz"
+sha256sums="737f06debe60aa9642ba072335f8d8bdf1afd78bde5c4fedfb0453f70a94beed DBM-Deep-2.0012.tar.gz"
+sha512sums="6a57a3c819493b9b1f3276aa72e8508c6080e9ac07a3543cf4948de98a9f7946b09489d2f00aa0b2f2511858d00bdae0bc6922464d6bced1703749ef7beb3cfd DBM-Deep-2.0012.tar.gz"