wok view apache-mod-perl/receipt @ rev 15361

tuxmath: add -lt4k_common
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 02 10:41:05 2013 +0000 (2013-10-02)
parents bac6392b8b25
children 8267887ae7af
line source
1 # SliTaz package receipt.
3 PACKAGE="apache-mod-perl"
4 VERSION="2.0.5"
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://perl.apache.org/dist/$TARBALL"
14 DEPENDS="apache"
15 BUILD_DEPENDS="perl 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 make && \
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib $fs/usr
32 cp -a $install/usr/share/apache $fs/usr/share
34 }