wok view perl/receipt @ rev 6189

Up: gnumeric to 1.10.9.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Sep 10 20:13:50 2010 +0000 (2010-09-10)
parents f3327707164a
children d9be1b1a5d96
line source
1 # SliTaz package receipt.
3 PACKAGE="perl"
4 VERSION="5.10.0"
5 CATEGORY="development"
6 SHORT_DESC="Full Perl interpreter and modules."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="libdb gdbm"
10 WEB_SITE="http://www.perl.org/"
11 WGET_URL="http://ftp.funet.fi/pub/CPAN/src/$TARBALL"
12 PROVIDE="microperl"
14 # Rules to configure and make the package.
15 #
16 compile_rules()
17 {
18 cd $src
19 ./configure.gnu --prefix=/usr &&
20 make -j 4 &&
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
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 }
32 # Pre install commands for Tazpkg.
33 # Remove perl link to microperl if any.
34 #
35 pre_install()
36 {
37 echo "Processing pre-install commands..."
38 rm -f $1/usr/bin/perl
39 }