wok view perl/receipt @ rev 5410

Up: bzip2, bzip2-dev, bzlib (1.0.5)
author Christopher Rogers <slaxemulator@gmail.com>
date Mon May 03 01:03:55 2010 +0000 (2010-05-03)
parents 89e187b7d309
children c161b9c835d2
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 gdbm"
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 }