aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/perl-apache-test/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-apache-test/APKBUILD b/testing/perl-apache-test/APKBUILD
new file mode 100644
index 0000000000..a1a454bacb
--- /dev/null
+++ b/testing/perl-apache-test/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-apache-test
+_pkgreal=Apache-Test
+pkgver=1.38
+pkgrel=0
+pkgdesc="unknown"
+url="http://search.cpan.org/dist/Apache-Test/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/$_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
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="dc7edf358dfea5bcf6ef4cdfe81e5dad Apache-Test-1.38.tar.gz"
+sha256sums="321717f58636ed0aa85cba6d69fc01e2ccbc90ba71ec2dcc2134d8401af65145 Apache-Test-1.38.tar.gz"
+sha512sums="416a89990e1947dfd970b806a28b52197165bbe1a482402aa5649f6e2692866a54cc8a4a7adcce83350e2f16aada409fd6c506c0d139b624319c5ebaa58604cc Apache-Test-1.38.tar.gz"