wok-next view 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
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 LICENSE="GPL"
9 SOURCE="perl"
10 WANTED="perl"
11 WEB_SITE="http://www.perl.org/"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/bin
18 cp -a $install/usr/bin/perl${VERSION} $fs/usr/bin/
19 cd $fs/usr/bin
20 ln -s perl${VERSION} perl
21 }
23 # Pre install commands for Tazpkg.
24 # Remove perl link to microperl if any.
25 #
26 pre_install()
27 {
28 echo "Processing pre-install commands..."
29 rm -f $1/usr/bin/perl
30 }