diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-06-06 14:46:07 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-06-06 14:46:07 +0000 |
commit | 0c4a5f83e20b1d53f7691af0bd60b41956edc35d (patch) | |
tree | 7d97bf7ea83964910e7677d0ec1cc8b86b29d4b1 | |
parent | 972e8005328f3c96c7a85465ade7fb390a514f6d (diff) | |
download | aports-0c4a5f83e20b1d53f7691af0bd60b41956edc35d.tar.bz2 aports-0c4a5f83e20b1d53f7691af0bd60b41956edc35d.tar.xz |
testing/perl-test2-suite: new aport
-rw-r--r-- | testing/perl-test2-suite/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-test2-suite/APKBUILD b/testing/perl-test2-suite/APKBUILD new file mode 100644 index 0000000000..15987daa27 --- /dev/null +++ b/testing/perl-test2-suite/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=perl-test2-suite +_pkgreal=Test2-Suite +pkgver=0.000030 +pkgrel=0 +pkgdesc="Distribution with a rich set of tools built upon the Test2 framework." +url="http://search.cpan.org/dist/Test2-Suite/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-test-simple" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/$_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="8e806a3317b5d577e329fea99fed8a32 Test2-Suite-0.000030.tar.gz" +sha256sums="03f2411a8b1a85be8560c25d57f465c812174bc1c062ee79aeb194b018e6b751 Test2-Suite-0.000030.tar.gz" +sha512sums="7a7d638a5fd2a5c3ae905967b1bb96fd473e12f996ab7ceb98c83d509839c0407242775b1852138988a581d64de72bb31158b739d857dfd399c66d39d8af3bd3 Test2-Suite-0.000030.tar.gz" |