wok-6.x annotate apache-mod-perl/receipt @ rev 11480

libgnome: add openssl to depends; add intltool to build_depends
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Dec 18 03:01:59 2011 +0100 (2011-12-18)
parents f3500d7d0011
children 191b99ca9dc2
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"
erjo@3677 8 DEPENDS="apache"
erjo@4844 9 BUILD_DEPENDS="perl gdbm-dev apache-dev apr-dev apr-util-dev apache"
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