wok view perl/receipt @ rev 2449

rox-filer: update build-depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 13 14:48:44 2009 +0000 (2009-03-13)
parents 49b99a0389d9
children 89e187b7d309
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 WEB_SITE="http://www.perl.org/"
10 WGET_URL="http://ftp.funet.fi/pub/CPAN/src/$TARBALL"
11 PROVIDE="microperl"
13 # Rules to configure and make the package.
14 #
15 compile_rules()
16 {
17 cd $src
18 ./configure.gnu --prefix=/usr &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/lib $fs/usr
29 }
31 # Pre install commands for Tazpkg.
32 # Remove perl link to microperl if any.
33 #
34 pre_install()
35 {
36 echo "Processing pre-install commands..."
37 rm -f $1/usr/bin/perl
38 }