wok annotate perl-core/receipt @ rev 6498
Up: libv4l, libv4l-dev to 0.8.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Oct 01 04:09:43 2010 +0000 (2010-10-01) |
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 } |