wok-6.x view perl/receipt @ rev 5501
Up: claws-mail-notification (0.25)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat May 08 09:26:56 2010 +0200 (2010-05-08) |
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 }