wok annotate perl-core/receipt @ rev 12191
Add pwauth (use system passwd to auth user, maybe used in our CGI tools)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Mar 26 01:27:26 2012 +0200 (2012-03-26) |
parents | 49e1e0f01970 |
children | 2d12ebd38be4 |
rev | line source |
---|---|
erjo@1817 | 1 # SliTaz package receipt. |
erjo@1817 | 2 |
erjo@1817 | 3 PACKAGE="perl-core" |
slaxemulator@8148 | 4 VERSION="5.12.3" |
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 WEB_SITE="http://www.perl.org/" |
erjo@1817 | 11 |
erjo@1817 | 12 |
erjo@1817 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1817 | 14 genpkg_rules() |
erjo@1817 | 15 { |
erjo@1817 | 16 mkdir -p $fs/usr/bin |
erjo@1817 | 17 cp -a $_pkg/usr/bin/perl${VERSION} $fs/usr/bin/ |
erjo@1817 | 18 cd $fs/usr/bin |
erjo@1817 | 19 ln -s perl${VERSION} perl |
erjo@1817 | 20 } |
erjo@1817 | 21 |
erjo@1817 | 22 # Pre install commands for Tazpkg. |
erjo@1817 | 23 # Remove perl link to microperl if any. |
erjo@1817 | 24 # |
erjo@1817 | 25 pre_install() |
erjo@1817 | 26 { |
erjo@1817 | 27 echo "Processing pre-install commands..." |
erjo@1817 | 28 rm -f $1/usr/bin/perl |
erjo@1817 | 29 } |