wok-current view perl/receipt @ rev 4361

Up: libxml2* (2.7.5) + python-lxml
author Christophe Lincoln <pankso@slitaz.org>
date Tue Oct 06 11:19:06 2009 +0200 (2009-10-06)
parents aadd2e06aab8
children f3327707164a
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"
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 &&
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 }