wok-4.x view perl-core/receipt @ rev 8792

Fix compile_rules() for gitmail
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Feb 22 23:44:49 2011 +0100 (2011-02-22)
parents 49e1e0f01970
children
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 }