wok-6.x view perl/receipt @ rev 97

Back to libX11 1.1.3
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jan 04 15:37:24 2008 +0100 (2008-01-04)
parents
children 17a39e4461e4
line source
1 # SliTaz package receipt.
3 PACKAGE="perl"
4 VERSION="5.8.8"
5 CATEGORY="extra"
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 }