diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-11-01 10:59:18 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-11-01 10:59:18 +0000 |
commit | 1ca7db6279b55403b5be6094280c6bb7c1f112c4 (patch) | |
tree | a01ef555a1db3f812c975cbfc85bc92c7ef357c2 /main | |
parent | 3448be975af2f70c50460fad6ca820b0a9df6839 (diff) | |
download | aports-1ca7db6279b55403b5be6094280c6bb7c1f112c4.tar.bz2 aports-1ca7db6279b55403b5be6094280c6bb7c1f112c4.tar.xz |
main/perl-test-simple: move to main
Diffstat (limited to 'main')
-rw-r--r-- | main/perl-test-simple/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-test-simple/APKBUILD b/main/perl-test-simple/APKBUILD new file mode 100644 index 0000000000..07c6e1e812 --- /dev/null +++ b/main/perl-test-simple/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-test-simple +_pkgreal=Test-Simple +pkgver=1.302059 +pkgrel=0 +pkgdesc="Basic utilities for writing tests." +url="http://search.cpan.org/dist/Test-Simple/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +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="e35a6344da1a9aafdbfdb21cb4180cee Test-Simple-1.302059.tar.gz" +sha256sums="7ce69a19fed488ef3149c6887d47a69e14cd705682d7e2d28f3432bcef3e2a59 Test-Simple-1.302059.tar.gz" +sha512sums="a5fa13b617bf96ce31ec13b274b73d0c7c2e3f7a77e54c314d2285b3cd729442605ad3b9aa0721773622c837e7be6776a53e7d34fd2777d07a306c16ec31ccb1 Test-Simple-1.302059.tar.gz" |