wok annotate apache-mod-perl/receipt @ rev 4167
Up: hubbub (rev 8960) - fix build
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Sep 22 20:07:31 2009 +0200 (2009-09-22) |
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 |