wok-current view apache-mod-perl/receipt @ rev 17583
Add: libsecret 0.18
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Feb 08 19:36:25 2015 +0000 (2015-02-08) |
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 }