wok-4.x view perl/receipt @ rev 5876
Add: macchanger 1.5.0
author | Antoine Bodin <gokhlayeh@mailoo.org> |
---|---|
date | Tue Jul 20 19:27:51 2010 +0200 (2010-07-20) |
parents | f3327707164a |
children | d9be1b1a5d96 |
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 -j 4 &&
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 }