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

linux-wireless: update modules list
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 12:51:40 2011 +0100 (2011-03-04)
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 }