wok-next annotate perl-core/receipt @ rev 15609
Up rack (1.3.10)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 06 20:49:37 2013 +0000 (2013-12-06) |
parents | ead12adce9b4 |
children | 9e01bc6321ea |
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" |
pascal@14702 | 8 LICENSE="GPL" |
erjo@1817 | 9 SOURCE="perl" |
erjo@1817 | 10 WANTED="perl" |
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 mkdir -p $fs/usr/bin |
pascal@14702 | 18 cp -a $install/usr/bin/perl${VERSION} $fs/usr/bin/ |
erjo@1817 | 19 cd $fs/usr/bin |
erjo@1817 | 20 ln -s perl${VERSION} perl |
erjo@1817 | 21 } |
erjo@1817 | 22 |
erjo@1817 | 23 # Pre install commands for Tazpkg. |
erjo@1817 | 24 # Remove perl link to microperl if any. |
erjo@1817 | 25 # |
erjo@1817 | 26 pre_install() |
erjo@1817 | 27 { |
erjo@1817 | 28 echo "Processing pre-install commands..." |
erjo@1817 | 29 rm -f $1/usr/bin/perl |
erjo@1817 | 30 } |