wok annotate apache-mod-perl/receipt @ rev 3677

Add apachece-mod-perl
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Jul 11 12:24:18 2009 +0200 (2009-07-11)
parents
children f3500d7d0011
rev   line source
erjo@3677 1 # SliTaz package receipt.
erjo@3677 2
erjo@3677 3 PACKAGE="apache-mod-perl"
erjo@3677 4 VERSION="2.0.4"
erjo@3677 5 CATEGORY="network"
erjo@3677 6 SHORT_DESC="PERL module for Apache"
erjo@3677 7 MAINTAINER="erjo@slitaz.org"
erjo@3677 8 DEPENDS="apache"
erjo@3677 9 BUILD_DEPENDS="perl gdbm-dev apache-dev apr-dev apr-util-dev"
erjo@3677 10 SOURCE="mod_perl"
erjo@3677 11 TARBALL="$SOURCE-$VERSION.tar.gz"
erjo@3677 12 WEB_SITE="http://perl.apache.org/"
erjo@3677 13 WGET_URL="http://perl.apache.org/dist/$TARBALL"
erjo@3677 14
erjo@3677 15 # Rules to configure and make the package.
erjo@3677 16 compile_rules()
erjo@3677 17 {
erjo@3677 18 cd $src
erjo@3677 19 perl Makefile.PL MP_APXS=/usr/bin/apxs && \
erjo@3677 20 make && \
erjo@3677 21 make DESTDIR=$PWD/_pkg install
erjo@3677 22 }
erjo@3677 23
erjo@3677 24 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@3677 25 genpkg_rules()
erjo@3677 26 {
erjo@3677 27 mkdir -p $fs/usr/share
erjo@3677 28 cp -a $_pkg/usr/bin $fs/usr
erjo@3677 29 cp -a $_pkg/usr/lib $fs/usr
erjo@3677 30 cp -a $_pkg/usr/share/apache $fs/usr/share
erjo@3677 31
erjo@3677 32 }
erjo@3677 33