mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/perl-libapreq2: update config.guess
This commit is contained in:
parent
c8e5fdea32
commit
3fa2f9a596
@ -17,27 +17,24 @@ makedepends="perl-extutils-xsbuilder perl-dev libtool apache2-dev apache2-mod-pe
|
||||
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"
|
||||
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
prepare() {
|
||||
local i
|
||||
cd "$_builddir"
|
||||
for i in $source; do
|
||||
case $i in
|
||||
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
||||
esac
|
||||
done
|
||||
default_prepare || return 1
|
||||
update_config_guess || return 1
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $_builddir
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL --with-apache2-apxs=/usr/bin/apxs \
|
||||
--with-apache2-httpd=/usr/sbin/httpd
|
||||
cd "$builddir"
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL \
|
||||
--with-apache2-apxs=/usr/bin/apxs \
|
||||
--with-apache2-httpd=/usr/sbin/httpd || return 1
|
||||
make || return 1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $_builddir
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" INSTALLDIRS="vendor" install
|
||||
install -Dm644 "$srcdir"/$pkgname.conf \
|
||||
"$pkgdir"/etc/apache2/conf.d/perl-libapreq2.conf || return 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user