wok-stable view perl/receipt @ rev 1117
Up: wxWidgets (2.8.8)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jul 20 16:36:19 2008 +0200 (2008-07-20) |
parents | 17a39e4461e4 |
children | aadd2e06aab8 |
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"
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 }
30 # Pre install commands for Tazpkg.
31 # Remove perl link to microperl if any.
32 #
33 pre_install()
34 {
35 echo "Processing pre-install commands..."
36 rm -f $1/usr/bin/perl
37 }