Commit 0c4a5f83 authored by Francesco Colista's avatar Francesco Colista

testing/perl-test2-suite: new aport

parent 972e8005
# 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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment