aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-data-denter
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2015-09-19 14:18:51 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-09-19 14:19:53 +0000
commit3a5a7e83cc7e69fe2139853f2f92722b9dab83da (patch)
tree117976c61a9fc885194089db6d4f17ac7a0e04a1 /testing/perl-data-denter
parentf83beac097ec3e8af19de7cb83df1ddb87d90069 (diff)
downloadaports-3a5a7e83cc7e69fe2139853f2f92722b9dab83da.tar.bz2
aports-3a5a7e83cc7e69fe2139853f2f92722b9dab83da.tar.xz
testing/perl-data-denter: new aport
Diffstat (limited to 'testing/perl-data-denter')
-rw-r--r--testing/perl-data-denter/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-data-denter/APKBUILD b/testing/perl-data-denter/APKBUILD
new file mode 100644
index 0000000000..718846d1f2
--- /dev/null
+++ b/testing/perl-data-denter/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor:
+# Maintainer:
+pkgname=perl-data-denter
+_pkgreal=Data-Denter
+pkgver=0.15
+pkgrel=0
+pkgdesc="Perl module for Data-Denter"
+url="http://search.cpan.org/dist/Data-Denter/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/I/IN/INGY/$_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 && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="819e5c05fb61e90f4c1311286b080405 Data-Denter-0.15.tar.gz"
+sha256sums="3ab4ff9bd49497bfc711dccf8c990aab10470a7bba65a9877632b14d8f5fdb55 Data-Denter-0.15.tar.gz"
+sha512sums="37512f0a7a9f749ceb0d4db210ad25ec812b0ff4a2d955312200251ac7c74fbf1f50930d8475865bc2215e838a00fde73b281ff45569d63931c10d3dc6df6505 Data-Denter-0.15.tar.gz"