aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-07-19 14:56:24 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-07-19 14:56:24 +0000
commit8b8ed66cc74ca727b3a22a8f903cd148b8bbf26d (patch)
tree3626f436e02fcefb31bd0929bbd4e558bdcb4ed4 /testing
parent780cc854a1a278acb663872585f9dcface789082 (diff)
downloadaports-8b8ed66cc74ca727b3a22a8f903cd148b8bbf26d.tar.bz2
aports-8b8ed66cc74ca727b3a22a8f903cd148b8bbf26d.tar.xz
testing/perl-libapreq: fixed compiling error, bump pkgrel
Diffstat (limited to 'testing')
-rw-r--r--testing/perl-libapreq2/APKBUILD19
1 files changed, 6 insertions, 13 deletions
diff --git a/testing/perl-libapreq2/APKBUILD b/testing/perl-libapreq2/APKBUILD
index 6d1803e8cd..8f0c52e786 100644
--- a/testing/perl-libapreq2/APKBUILD
+++ b/testing/perl-libapreq2/APKBUILD
@@ -1,10 +1,9 @@
-# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-libapreq2
_pkgreal=libapreq2
pkgver=2.13
-pkgrel=1
+pkgrel=2
pkgdesc="Perl module for libapreq2"
url="http://search.cpan.org/dist/libapreq2/"
arch="all"
@@ -12,32 +11,26 @@ license="APACHE"
cpandepends="perl-extutils-xsbuilder perl-test-simple"
cpanmakedepends=""
depends="$cpandepends"
-makedepends="perl-dev apache2-dev apache2-mod-perl-dev libtool automake autoconf $cpanmakedepends"
+makedepends="perl-dev apache2-dev apache2-mod-perl-dev m4 libtool automake autoconf $cpanmakedepends"
install="$pkgname.post-install"
subpackages="$pkgname-dev $pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/I/IS/ISAAC/$_pkgreal-$pkgver.tar.gz
$pkgname.conf"
-
_builddir="$srcdir/$_pkgreal-$pkgver"
-prepare() {
- cd "$_builddir"
- ./configure --with-apache2-apxs=/usr/sbin/apxs
-# PERL_MM_USE_DEFAULT=1 perl Makefile.PL || return 1
-}
-
build() {
cd "$_builddir"
- make
+ PREFIX=/usr/lib perl Makefile.PL
+ make || return 1
}
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" INSTALLDIRS="vendor" install || return 1
install -Dm644 ../../$pkgname.conf "$pkgdir"/etc/apache2/conf.d/mod-perl-apreq2.conf || return 1
rm -f "$pkgdir"/usr/lib/*.la \
"$pkgdir"/usr/lib/apache2/*.la
-
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
doc() {