wok-6.x view apache-mod-perl/receipt @ rev 13723

Added math libraries: CoCoALib, gf2x, NTL, PARI/GP as dependencies for Giac/Xcas (which is broken this time)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 21 08:37:05 2012 +0000 (2012-12-21)
parents f3500d7d0011
children 191b99ca9dc2
line source
1 # SliTaz package receipt.
3 PACKAGE="apache-mod-perl"
4 VERSION="2.0.5"
5 CATEGORY="network"
6 SHORT_DESC="PERL module for Apache"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="apache"
9 BUILD_DEPENDS="perl gdbm-dev apache-dev apr-dev apr-util-dev apache"
10 SOURCE="mod_perl"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://perl.apache.org/"
13 WGET_URL="http://perl.apache.org/dist/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 perl Makefile.PL MP_APXS=/usr/bin/apxs && \
20 make && \
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 cp -a $_pkg/usr/share/apache $fs/usr/share
32 }