wok-current annotate perl/receipt @ rev 1003
gpxe: fix typo in patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 06 21:00:29 2008 +0000 (2008-07-06) |
parents | 17a39e4461e4 |
children | aadd2e06aab8 |
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" |
pankso@18 | 11 |
pankso@18 | 12 # Rules to configure and make the package. |
pankso@18 | 13 # |
pankso@18 | 14 compile_rules() |
pankso@18 | 15 { |
pankso@18 | 16 cd $src |
pankso@18 | 17 ./configure.gnu --prefix=/usr |
pankso@18 | 18 make |
pankso@18 | 19 make DESTDIR=$PWD/_pkg install |
pankso@18 | 20 } |
pankso@18 | 21 |
pankso@18 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@18 | 23 genpkg_rules() |
pankso@18 | 24 { |
pankso@18 | 25 mkdir -p $fs/usr |
pankso@18 | 26 cp -a $_pkg/usr/bin $fs/usr |
pankso@18 | 27 cp -a $_pkg/usr/lib $fs/usr |
pankso@18 | 28 } |
pankso@18 | 29 |
pankso@18 | 30 # Pre install commands for Tazpkg. |
pankso@18 | 31 # Remove perl link to microperl if any. |
pankso@18 | 32 # |
pankso@18 | 33 pre_install() |
pankso@18 | 34 { |
pankso@18 | 35 echo "Processing pre-install commands..." |
pankso@18 | 36 rm -f $1/usr/bin/perl |
pankso@18 | 37 } |