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

Upgrade: h8300-gcc (4.4.0 to 4.4.1)
author Matthew Sheets <rcx@zoominternet.net>
date Sat Aug 29 22:48:00 2009 +0000 (2009-08-29)
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