wok-next view perl/receipt @ rev 498

Busybox: add patch -R
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 24 15:49:00 2008 +0000 (2008-03-24)
parents 8d79fbb0f566
children 49b99a0389d9
line source
1 # SliTaz package receipt.
3 PACKAGE="perl"
4 VERSION="5.8.8"
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"
12 # Rules to configure and make the package.
13 #
14 compile_rules()
15 {
16 cd $src
17 ./configure.gnu --prefix=/usr
18 make
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/lib $fs/usr
28 strip -s $fs/usr/bin/a2p
29 strip -s $fs/usr/bin/perl
30 strip -s $fs/usr/bin/perl5.8.8
31 }
33 # Pre install commands for Tazpkg.
34 # Remove perl link to microperl if any.
35 #
36 pre_install()
37 {
38 echo "Processing pre-install commands..."
39 rm -f $1/usr/bin/perl
40 }