aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-libapreq2
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2013-09-02 11:46:07 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2013-09-02 11:46:50 +0000
commitbb24194e87540add10ea635f67601f97d8c7f2f7 (patch)
treeedd6b7efcaf10c735905349d35b863ecb230d8cc /testing/perl-libapreq2
parent0e80d98391ce1a0c3dd7c3a11e92214767506f63 (diff)
downloadaports-bb24194e87540add10ea635f67601f97d8c7f2f7.tar.bz2
aports-bb24194e87540add10ea635f67601f97d8c7f2f7.tar.xz
testing/perl-libapreq2: build doc and perl API correctly
Diffstat (limited to 'testing/perl-libapreq2')
-rw-r--r--testing/perl-libapreq2/APKBUILD34
1 files changed, 21 insertions, 13 deletions
diff --git a/testing/perl-libapreq2/APKBUILD b/testing/perl-libapreq2/APKBUILD
index 6a39ccf875..e9de86e544 100644
--- a/testing/perl-libapreq2/APKBUILD
+++ b/testing/perl-libapreq2/APKBUILD
@@ -3,17 +3,20 @@
pkgname=perl-libapreq2
_pkgreal=libapreq2
pkgver=2.13
-pkgrel=0
+pkgrel=1
pkgdesc="Perl module for libapreq2"
url="http://search.cpan.org/dist/libapreq2/"
arch="all"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=""
-depends="$cpandepends"
-subpackages="$pkgname-dev"
-makedepends="perl-extutils-xsbuilder libtool apache2-dev apache2-mod-perl-dev expat-dev apr-dev"
-source="http://search.cpan.org/CPAN/authors/id/I/IS/ISAAC/$_pkgreal-$pkgver.tar.gz"
+depends="apache2 perl"
+subpackages="$pkgname-dev $pkgname-doc"
+install="$pkgname.post-install"
+makedepends="perl-extutils-xsbuilder perl-dev libtool apache2-dev apache2-mod-perl-dev expat-dev apr-util-dev"
+source="http://search.cpan.org/CPAN/authors/id/I/IS/ISAAC/$_pkgreal-$pkgver.tar.gz
+ libapreq2-2.08-doc.patch
+ $pkgname.conf"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
@@ -28,21 +31,26 @@ prepare() {
build() {
cd $_builddir
- ./configure --prefix=/usr \
- --with-apache2-apxs=/usr/bin/apxs \
- --with-apache2-httpd=/usr/sbin/httpd
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL --with-apache2-apxs=/usr/bin/apxs \
+ --with-apache2-httpd=/usr/sbin/httpd
make || return 1
}
package() {
cd $_builddir
make DESTDIR="$pkgdir" INSTALLDIRS="vendor" install
+ install -Dm644 "$srcdir"/$pkgname.conf \
+ "$pkgdir"/etc/apache2/conf.d/perl-libapreq2.conf || return 1
find "$pkgdir" -name mod_apreq2.la -delete
find "$pkgdir" -name libapreq2.la -delete
- find "$pkgdir" -name perllocal.pod -delete
- find "$pkgdir" -name .packlist -delete
}
-md5sums="c11fb0861aa84dcc6cd0f0798b045eee libapreq2-2.13.tar.gz"
-sha256sums="5731e6833b32d88e4a5c690e45ddf20fcf969ce3da666c5627d775e92da0cf6e libapreq2-2.13.tar.gz"
-sha512sums="54553cb90c0d3f6fb34ff19364c5804976c4aff1bae551ae051fdd06f41695770f1e285c40e03dbd93ae738adc332f38f1a1994167598364071feaec833fdf05 libapreq2-2.13.tar.gz"
+md5sums="c11fb0861aa84dcc6cd0f0798b045eee libapreq2-2.13.tar.gz
+4767fca9baf95b7bbf8b5bfd6bf461e7 libapreq2-2.08-doc.patch
+90288cabd74c73d76be4e7a27a620f9b perl-libapreq2.conf"
+sha256sums="5731e6833b32d88e4a5c690e45ddf20fcf969ce3da666c5627d775e92da0cf6e libapreq2-2.13.tar.gz
+2ceee7ec3bf91a48b42094ce31ab1449b7193ea4c31aca0764ac98f13da5dccc libapreq2-2.08-doc.patch
+fcf71bed348495e085ff2c4a429c3265b71636602e007e54be9484150dd7e92e perl-libapreq2.conf"
+sha512sums="54553cb90c0d3f6fb34ff19364c5804976c4aff1bae551ae051fdd06f41695770f1e285c40e03dbd93ae738adc332f38f1a1994167598364071feaec833fdf05 libapreq2-2.13.tar.gz
+dc889d7890d9059efdb3fcd4d6b1e485929b69c073ff6266b90f82e89efe5bdd633fd4dc09ccd4aac3f8816271c00dca69b39ffe4706baf7d3094404784cd766 libapreq2-2.08-doc.patch
+e7fa4f3b51cbc6417369ba171ac0fb955ec0cd6d3575e07e7451ef2a8165d24ddbbcc3143a5c8106a757ecd7d4286a11a9ff87e27c1acff8abc48110fcb02e1f perl-libapreq2.conf"