wok annotate perl-core/receipt @ rev 3159
Up: curl (7.19.5)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 24 21:41:29 2009 +0200 (2009-05-24) |
parents | |
children | d9be1b1a5d96 |
rev | line source |
---|---|
erjo@1817 | 1 # SliTaz package receipt. |
erjo@1817 | 2 |
erjo@1817 | 3 PACKAGE="perl-core" |
erjo@1817 | 4 VERSION="5.10.0" |
erjo@1817 | 5 CATEGORY="development" |
erjo@1817 | 6 SHORT_DESC="Minimal Perl interpreter." |
erjo@1817 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@1817 | 8 SOURCE="perl" |
erjo@1817 | 9 WANTED="perl" |
erjo@1817 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@1817 | 11 WEB_SITE="http://www.perl.org/" |
erjo@1817 | 12 |
erjo@1817 | 13 |
erjo@1817 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1817 | 15 genpkg_rules() |
erjo@1817 | 16 { |
erjo@1817 | 17 _pkg=${WOK}/${WANTED}/${WANTED}-${VERSION}/_pkg |
erjo@1817 | 18 mkdir -p $fs/usr/bin |
erjo@1817 | 19 cp -a $_pkg/usr/bin/perl${VERSION} $fs/usr/bin/ |
erjo@1817 | 20 cd $fs/usr/bin |
erjo@1817 | 21 ln -s perl${VERSION} perl |
erjo@1817 | 22 } |
erjo@1817 | 23 |
erjo@1817 | 24 # Pre install commands for Tazpkg. |
erjo@1817 | 25 # Remove perl link to microperl if any. |
erjo@1817 | 26 # |
erjo@1817 | 27 pre_install() |
erjo@1817 | 28 { |
erjo@1817 | 29 echo "Processing pre-install commands..." |
erjo@1817 | 30 rm -f $1/usr/bin/perl |
erjo@1817 | 31 } |