aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-data-dump
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
commit09f33c773b93a9a464da915b3786e5ba57beb2cd (patch)
treef466ff7cc5c11eaa414854e43d961e776d1690b6 /testing/perl-data-dump
parent46a741c845c4ff0b40282343860b5cab999a2695 (diff)
downloadaports-09f33c773b93a9a464da915b3786e5ba57beb2cd.tar.bz2
aports-09f33c773b93a9a464da915b3786e5ba57beb2cd.tar.xz
testing/perl-data-dump: new aport
Diffstat (limited to 'testing/perl-data-dump')
-rw-r--r--testing/perl-data-dump/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-data-dump/APKBUILD b/testing/perl-data-dump/APKBUILD
new file mode 100644
index 0000000000..40ad08f2b1
--- /dev/null
+++ b/testing/perl-data-dump/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor:
+# Maintainer:
+pkgname=perl-data-dump
+_pkgreal=Data-Dump
+pkgver=1.23
+pkgrel=0
+pkgdesc="Pretty printing of data structures"
+url="http://search.cpan.org/dist/Data-Dump/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$_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="762c111e525c82ff23d62c90821b26e9 Data-Dump-1.23.tar.gz"
+sha256sums="af53b05ef1387b4cab4427e6789179283e4f0da8cf036e8db516ddb344512b65 Data-Dump-1.23.tar.gz"
+sha512sums="6fd6c23bb6df7f7396219149dbfd23132fc2ea1dd344c32f62fc27a1afeeb28d7ebf2d429184bb6d1189f412e218f9e62a966b49fdd9ad5564e5152d67a02b96 Data-Dump-1.23.tar.gz"