wok-next view apache-mod-perl/receipt @ rev 20737
libav: fix build; python-antlr: using pip; python-apsw: up (3.19.3-r1)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 20:37:22 2018 +0300 (2018-05-29) |
parents | 148fe453320b |
children | dc626da69d4e |
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="erjo@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="http://perl.apache.org/"
11 TARBALL="mod_perl-$VERSION.tar.gz"
12 #WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/$TARBALL"
13 WGET_URL="http://apache.ip-connect.vn.ua/perl/$TARBALL"
15 BUILD_DEPENDS="gdbm-dev apache-dev apr-dev apr-util-dev apache perl-dev"
16 SPLIT="apache-mod-perl-dev"
18 compile_rules() {
19 perl Makefile.PL \
20 MP_APXS=/usr/bin/apxs \
21 MP_APR_CONFIG=/usr/bin/apr-1-config
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 apache-mod-perl)
29 copy @std
30 DEPENDS="apache perl"
31 ;;
32 *-dev)
33 copy @dev
34 ;;
35 esac
36 }