wok-6.x view perl/receipt @ rev 32
Add : alsa-* and sound libs (ogg, mad, etc) + mpg123
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 14:04:58 2007 +0100 (2007-12-18) |
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 }