wok annotate 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
rev   line source
erjo@3677 1 # SliTaz package receipt.
erjo@3677 2
erjo@3677 3 PACKAGE="apache-mod-perl"
slaxemulator@9831 4 VERSION="2.0.5"
erjo@3677 5 CATEGORY="network"
erjo@3677 6 SHORT_DESC="PERL module for Apache"
erjo@3677 7 MAINTAINER="erjo@slitaz.org"
pascal@15361 8 LICENSE="Apache"
erjo@3677 9 SOURCE="mod_perl"
erjo@3677 10 TARBALL="$SOURCE-$VERSION.tar.gz"
erjo@3677 11 WEB_SITE="http://perl.apache.org/"
erjo@3677 12 WGET_URL="http://perl.apache.org/dist/$TARBALL"
erjo@3677 13
pascal@15361 14 DEPENDS="apache"
pascal@15361 15 BUILD_DEPENDS="perl gdbm-dev apache-dev apr-dev apr-util-dev apache"
pascal@15361 16
erjo@3677 17 # Rules to configure and make the package.
erjo@3677 18 compile_rules()
erjo@3677 19 {
erjo@3677 20 cd $src
erjo@3677 21 perl Makefile.PL MP_APXS=/usr/bin/apxs && \
erjo@3677 22 make && \
pascal@15361 23 make DESTDIR=$DESTDIR install
erjo@3677 24 }
erjo@3677 25
erjo@3677 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@3677 27 genpkg_rules()
erjo@3677 28 {
erjo@3677 29 mkdir -p $fs/usr/share
pascal@15361 30 cp -a $install/usr/bin $fs/usr
pascal@15361 31 cp -a $install/usr/lib $fs/usr
pascal@15361 32 cp -a $install/usr/share/apache $fs/usr/share
erjo@3677 33
erjo@3677 34 }
erjo@3677 35