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

xorg-xauth: add common path (thanks mojo)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 29 09:47:08 2013 +0100 (2013-01-29)
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 }