wok-6.x annotate perl-core/receipt @ rev 3416
Ren: pytz -> python-pytz
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Fri Jun 12 22:54:04 2009 +0000 (2009-06-12) |
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 } |