wok-current annotate perl-core/receipt @ rev 7008
Up: phppgadmin to 4.2.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Oct 31 13:14:27 2010 +0000 (2010-10-31) |
parents | 8c3646038b08 |
children | 49e1e0f01970 |
rev | line source |
---|---|
erjo@1817 | 1 # SliTaz package receipt. |
erjo@1817 | 2 |
erjo@1817 | 3 PACKAGE="perl-core" |
slaxemulator@6585 | 4 VERSION="5.12.2" |
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 } |