wok-next view perl-core/receipt @ rev 12042
postfixadmin: Fis depends:wq!
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Mar 07 17:41:19 2012 +0100 (2012-03-07) |
parents | 49e1e0f01970 |
children | 2d12ebd38be4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-core"
4 VERSION="5.12.3"
5 CATEGORY="development"
6 SHORT_DESC="Minimal Perl interpreter."
7 MAINTAINER="erjo@slitaz.org"
8 SOURCE="perl"
9 WANTED="perl"
10 WEB_SITE="http://www.perl.org/"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/bin
17 cp -a $_pkg/usr/bin/perl${VERSION} $fs/usr/bin/
18 cd $fs/usr/bin
19 ln -s perl${VERSION} perl
20 }
22 # Pre install commands for Tazpkg.
23 # Remove perl link to microperl if any.
24 #
25 pre_install()
26 {
27 echo "Processing pre-install commands..."
28 rm -f $1/usr/bin/perl
29 }