wok-next annotate perl/receipt @ rev 2427

flash-plugin, sjphone, xlite: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 11 12:07:13 2009 +0000 (2009-03-11)
parents 49b99a0389d9
children 89e187b7d309
rev   line source
pankso@18 1 # SliTaz package receipt.
pankso@18 2
pankso@18 3 PACKAGE="perl"
pankso@979 4 VERSION="5.10.0"
pankso@204 5 CATEGORY="development"
pankso@18 6 SHORT_DESC="Full Perl interpreter and modules."
pankso@18 7 MAINTAINER="pankso@slitaz.org"
pankso@18 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@18 9 WEB_SITE="http://www.perl.org/"
pankso@18 10 WGET_URL="http://ftp.funet.fi/pub/CPAN/src/$TARBALL"
pascal@2332 11 PROVIDE="microperl"
pankso@18 12
pankso@18 13 # Rules to configure and make the package.
pankso@18 14 #
pankso@18 15 compile_rules()
pankso@18 16 {
pankso@18 17 cd $src
pascal@2332 18 ./configure.gnu --prefix=/usr &&
pascal@2332 19 make &&
pankso@18 20 make DESTDIR=$PWD/_pkg install
pankso@18 21 }
pankso@18 22
pankso@18 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@18 24 genpkg_rules()
pankso@18 25 {
pankso@18 26 mkdir -p $fs/usr
pankso@18 27 cp -a $_pkg/usr/bin $fs/usr
pankso@18 28 cp -a $_pkg/usr/lib $fs/usr
pankso@18 29 }
pankso@18 30
pankso@18 31 # Pre install commands for Tazpkg.
pankso@18 32 # Remove perl link to microperl if any.
pankso@18 33 #
pankso@18 34 pre_install()
pankso@18 35 {
pankso@18 36 echo "Processing pre-install commands..."
pankso@18 37 rm -f $1/usr/bin/perl
pankso@18 38 }