# SliTaz package receipt. PACKAGE="apache-mod-perl" VERSION="2.0.5" CATEGORY="network" SHORT_DESC="PERL module for Apache" MAINTAINER="erjo@slitaz.org" DEPENDS="apache" BUILD_DEPENDS="perl gdbm-dev apache-dev apr-dev apr-util-dev apache" SOURCE="mod_perl" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://perl.apache.org/" WGET_URL="http://perl.apache.org/dist/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src perl Makefile.PL MP_APXS=/usr/bin/apxs && \ make && \ make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/lib $fs/usr cp -a $_pkg/usr/share/apache $fs/usr/share }