aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-apache-test/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2013-09-04 08:39:58 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2013-09-04 09:04:44 +0000
commite707cfd19dc200e2c92a7fe88dadc9e39ba33197 (patch)
tree94969c24b8ba1e0c5deb4651a55dca9827e1d078 /testing/perl-apache-test/APKBUILD
parent1ffad1a33040f3457b811bc7fe63accf54f9acd4 (diff)
downloadaports-e707cfd19dc200e2c92a7fe88dadc9e39ba33197.tar.bz2
aports-e707cfd19dc200e2c92a7fe88dadc9e39ba33197.tar.xz
testing/perl-apache-test: new aport
Diffstat (limited to 'testing/perl-apache-test/APKBUILD')
-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"