wok-next view apache-mod-perl/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | d958fec46c9f |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="apache-mod-perl"
4 VERSION="2.0.10"
5 CATEGORY="network"
6 SHORT_DESC="PERL module for Apache"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="http://perl.apache.org/"
10 REPOLOGY="apmod:perl"
12 TARBALL="mod_perl-$VERSION.tar.gz"
13 #WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/$TARBALL"
14 WGET_URL="http://apache.ip-connect.vn.ua/perl/$TARBALL"
16 BUILD_DEPENDS="gdbm-dev apache-dev apr-dev apr-util-dev apache perl-dev"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 perl Makefile.PL \
21 MP_APXS=/usr/bin/apxs \
22 MP_APR_CONFIG=/usr/bin/apr-1-config
23 make &&
24 make DESTDIR=$install install || return 1
26 find $install -type f -exec chmod u+w '{}' \;
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 apache-mod-perl)
32 copy @std
33 DEPENDS="apache perl"
34 ;;
35 *-dev)
36 copy @dev
37 ;;
38 esac
39 }