aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-data-dumper-concise/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2017-07-06 15:02:51 +0300
committerTimo Teräs <timo.teras@iki.fi>2017-07-11 14:31:24 +0300
commit7689982c4054508f12606009da40e1229125b5cd (patch)
tree3e694cfcccaf79048d691e9bffb995793e31719f /testing/perl-data-dumper-concise/APKBUILD
parent9cda06d133d701cf9dbbfebdb211ee7f8fc74124 (diff)
downloadaports-7689982c4054508f12606009da40e1229125b5cd.tar.bz2
aports-7689982c4054508f12606009da40e1229125b5cd.tar.xz
testing/perl-data-dumper-concise: new aport
Less indentation and newlines plus sub deparsing http://search.cpan.org/dist/Data-Dumper-Concise/
Diffstat (limited to 'testing/perl-data-dumper-concise/APKBUILD')
-rw-r--r--testing/perl-data-dumper-concise/APKBUILD48
1 files changed, 48 insertions, 0 deletions
diff --git a/testing/perl-data-dumper-concise/APKBUILD b/testing/perl-data-dumper-concise/APKBUILD
new file mode 100644
index 0000000000..f2afed8ce5
--- /dev/null
+++ b/testing/perl-data-dumper-concise/APKBUILD
@@ -0,0 +1,48 @@
+# Automatically generated by apkbuild-cpan, template 2
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
+pkgname=perl-data-dumper-concise
+_pkgreal=Data-Dumper-Concise
+pkgver=2.023
+pkgrel=0
+pkgdesc="Less indentation and newlines plus sub deparsing"
+url="http://search.cpan.org/dist/Data-Dumper-Concise/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+cpancheckdepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+checkdepends="$cpancheckdepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ default_prepare || return 1
+
+ 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
+}
+
+check() {
+ cd "$builddir"
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ make test
+}
+
+sha512sums="cc193bc60228dd3bb1c50d4545ee6a507d80ada27548303bb04fd720504746a2d5a4f32d7c33f52dfaf135a2456e019d794a7d693e2c56df9ea9d0ff385e8cd0 Data-Dumper-Concise-2.023.tar.gz"