wok annotate perl/receipt @ rev 6510
Up: feh to 1.9.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Oct 01 21:03:32 2010 +0000 (2010-10-01) |
parents | f3327707164a |
children | d9be1b1a5d96 |
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" |
pascal@5005 | 9 DEPENDS="libdb gdbm" |
pankso@18 | 10 WEB_SITE="http://www.perl.org/" |
pankso@18 | 11 WGET_URL="http://ftp.funet.fi/pub/CPAN/src/$TARBALL" |
pascal@2332 | 12 PROVIDE="microperl" |
pankso@18 | 13 |
pankso@18 | 14 # Rules to configure and make the package. |
pankso@18 | 15 # |
pankso@18 | 16 compile_rules() |
pankso@18 | 17 { |
pankso@18 | 18 cd $src |
pascal@2332 | 19 ./configure.gnu --prefix=/usr && |
pascal@5778 | 20 make -j 4 && |
pankso@18 | 21 make DESTDIR=$PWD/_pkg install |
pankso@18 | 22 } |
pankso@18 | 23 |
pankso@18 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@18 | 25 genpkg_rules() |
pankso@18 | 26 { |
pankso@18 | 27 mkdir -p $fs/usr |
pankso@18 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@18 | 29 cp -a $_pkg/usr/lib $fs/usr |
pankso@18 | 30 } |
pankso@18 | 31 |
pankso@18 | 32 # Pre install commands for Tazpkg. |
pankso@18 | 33 # Remove perl link to microperl if any. |
pankso@18 | 34 # |
pankso@18 | 35 pre_install() |
pankso@18 | 36 { |
pankso@18 | 37 echo "Processing pre-install commands..." |
pankso@18 | 38 rm -f $1/usr/bin/perl |
pankso@18 | 39 } |