wok-6.x view perl-core/receipt @ rev 14593

Add antinat
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 27 12:17:25 2013 +0200 (2013-05-27)
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 }