diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2013-09-04 08:49:25 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2013-09-04 09:04:45 +0000 |
commit | ff05e6f932e486f5d5c547eea16b27382f4d66a0 (patch) | |
tree | df1c78f48689cdd3b50557957da9411c31f33289 /testing/perl-data-dumper | |
parent | 5e997a12fd074e0b8f8fc0a63a82b45c48900a1d (diff) | |
download | aports-ff05e6f932e486f5d5c547eea16b27382f4d66a0.tar.bz2 aports-ff05e6f932e486f5d5c547eea16b27382f4d66a0.tar.xz |
testing/perl-data-dumper: new aport
Diffstat (limited to 'testing/perl-data-dumper')
-rw-r--r-- | testing/perl-data-dumper/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-data-dumper/APKBUILD b/testing/perl-data-dumper/APKBUILD new file mode 100644 index 0000000000..f30b871f86 --- /dev/null +++ b/testing/perl-data-dumper/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-data-dumper +_pkgreal=Data-Dumper +pkgver=2.145 +pkgrel=0 +pkgdesc="unknown" +url="http://search.cpan.org/dist/Data-Dumper/" +arch="all" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="" +source="http://search.cpan.org/CPAN/authors/id/S/SM/SMUELLER/$_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="b773c875afcca866faf8481adc3464b0 Data-Dumper-2.145.tar.gz" +sha256sums="04453fcd77e89c293212d7b21a507594014335ad98c6af9e41b995dbc5450e18 Data-Dumper-2.145.tar.gz" +sha512sums="2073cb5ffa95a4fd7682faf83b51caacf97d8a77cf90b409a4bc2c1f58605a8e2fe2181b0e5541fb7bb84a57460b62d01f2655b775b00a1b788aba8d9d1c6c60 Data-Dumper-2.145.tar.gz" |