wok-next diff apache-mod-perl/receipt @ rev 20736
netatalk-dev: update depends
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 20:07:48 2018 +0300 (2018-05-29) |
parents | 148fe453320b |
children | dc626da69d4e |
line diff
1.1 --- a/apache-mod-perl/receipt Tue Nov 07 10:54:15 2017 +0200 1.2 +++ b/apache-mod-perl/receipt Tue May 29 20:07:48 2018 +0300 1.3 @@ -1,39 +1,36 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="apache-mod-perl" 1.8 -VERSION="2.0.8" 1.9 +VERSION="2.0.10" 1.10 CATEGORY="network" 1.11 SHORT_DESC="PERL module for Apache" 1.12 MAINTAINER="erjo@slitaz.org" 1.13 LICENSE="Apache" 1.14 -SOURCE="mod_perl" 1.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 WEB_SITE="http://perl.apache.org/" 1.17 -WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/$TARBALL" 1.18 1.19 -DEPENDS="apache perl-thread" 1.20 -BUILD_DEPENDS="gdbm-dev apache-dev apr-dev apr-util-dev apache perl-thread" 1.21 +TARBALL="mod_perl-$VERSION.tar.gz" 1.22 +#WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/$TARBALL" 1.23 +WGET_URL="http://apache.ip-connect.vn.ua/perl/$TARBALL" 1.24 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 - cd $src 1.29 - perl Makefile.PL MP_APXS=/usr/bin/apxs \ 1.30 - MP_APR_CONFIG=/usr/bin/apr-1-config 1.31 - sed -i 's/remote_ip/client_ip/;s/remote_addr/client_addr/' \ 1.32 - WrapXS/Apache2/Connection/Connection.xs 1.33 - sed -i 's/>loglevel/>log.level/' \ 1.34 - WrapXS/Apache2/ServerRec/ServerRec.xs 1.35 +BUILD_DEPENDS="gdbm-dev apache-dev apr-dev apr-util-dev apache perl-dev" 1.36 +SPLIT="apache-mod-perl-dev" 1.37 + 1.38 +compile_rules() { 1.39 + perl Makefile.PL \ 1.40 + MP_APXS=/usr/bin/apxs \ 1.41 + MP_APR_CONFIG=/usr/bin/apr-1-config 1.42 make && 1.43 make DESTDIR=$DESTDIR install 1.44 } 1.45 1.46 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.47 -genpkg_rules() 1.48 -{ 1.49 - mkdir -p $fs/usr/share 1.50 - cp -a $install/usr/bin $fs/usr 1.51 - cp -a $install/usr/lib $fs/usr 1.52 - cp -a $install/usr/share/apache $fs/usr/share 1.53 - 1.54 +genpkg_rules() { 1.55 + case $PACKAGE in 1.56 + apache-mod-perl) 1.57 + copy @std 1.58 + DEPENDS="apache perl" 1.59 + ;; 1.60 + *-dev) 1.61 + copy @dev 1.62 + ;; 1.63 + esac 1.64 }