From 8b8ed66cc74ca727b3a22a8f903cd148b8bbf26d Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Thu, 19 Jul 2012 14:56:24 +0000 Subject: testing/perl-libapreq: fixed compiling error, bump pkgrel --- testing/perl-libapreq2/APKBUILD | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) (limited to 'testing/perl-libapreq2') 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 # Maintainer: Francesco Colista 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() { -- cgit v1.2.3