wok-6.x view apache-mod-perl/receipt @ rev 17741
perl-class-accessor, perl-file-rsync, perl-libjson, perl-texi2html: add bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 06 20:20:59 2015 +0100 (2015-03-06) |
parents | efe4d0b688a9 |
children | ca4a422cce07 |
line source
1 # SliTaz package receipt.
3 PACKAGE="apache-mod-perl"
4 VERSION="2.0.8"
5 CATEGORY="network"
6 SHORT_DESC="PERL module for Apache"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="Apache"
9 SOURCE="mod_perl"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://perl.apache.org/"
12 WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/$TARBALL"
14 DEPENDS="apache perl-thread"
15 BUILD_DEPENDS="perl-thread gdbm-dev apache-dev apr-dev apr-util-dev apache"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 perl Makefile.PL MP_APXS=/usr/bin/apxs \
22 MP_APR_CONFIG=/usr/bin/apr-1-config
23 sed -i 's/remote_ip/client_ip/;s/remote_addr/client_addr/' \
24 WrapXS/Apache2/Connection/Connection.xs
25 sed -i 's/>loglevel/>log.level/' \
26 WrapXS/Apache2/ServerRec/ServerRec.xs
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 cp -a $install/usr/share/apache $fs/usr/share
39 }