wok view apache-mod-perl/receipt @ rev 25124

updated apache-mod-perl (2.0.8 -> 2.0.11)
author Hans-G?nter Theisgen
date Tue Jun 28 16:23:55 2022 +0100 (22 months ago)
parents cb67b4f8be05
children d80275dcc2c7
line source
1 # SliTaz package receipt.
3 PACKAGE="apache-mod-perl"
4 VERSION="2.0.11"
5 CATEGORY="network"
6 SHORT_DESC="PERL module for Apache"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="https://perl.apache.org/"
10 REPOLOGY="apmod:perl"
12 SOURCE="mod_perl"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/$TARBALL"
15 WGET_URL="https://archive.apache.org/dist/perl/$TARBALL"
17 DEPENDS="apache perl-thread"
18 BUILD_DEPENDS="apache apache-dev apr-dev apr-util-dev gdbm-dev perl-thread"
20 current_version()
21 {
22 wget -O - http://perl.apache.org/download/index.html 2>/dev/null | \
23 sed '/Version/!d;s|.*ersion ||;s| .*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 perl Makefile.PL \
30 MP_APXS=/usr/bin/apxs \
31 MP_APR_CONFIG=/usr/bin/apr-1-config
32 sed -i 's/remote_ip/client_ip/;s/remote_addr/client_addr/' \
33 WrapXS/Apache2/Connection/Connection.xs
34 sed -i 's/>loglevel/>log.level/' \
35 WrapXS/Apache2/ServerRec/ServerRec.xs
36 make &&
37 make install DESTDIR=$DESTDIR
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib $fs/usr
47 cp -a $install/usr/share/apache $fs/usr/share
48 }