wok view perl-core/receipt @ rev 8165
imported patch commit_inprogress/libsasl-without-ldap.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:49 2011 +0100 (2011-01-27) |
parents | d9be1b1a5d96 |
children | ead12adce9b4 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.perl.org/"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 _pkg=${WOK}/${WANTED}/${WANTED}-${VERSION}/_pkg
18 mkdir -p $fs/usr/bin
19 cp -a $_pkg/usr/bin/perl${VERSION} $fs/usr/bin/
20 cd $fs/usr/bin
21 ln -s perl${VERSION} perl
22 }
24 # Pre install commands for Tazpkg.
25 # Remove perl link to microperl if any.
26 #
27 pre_install()
28 {
29 echo "Processing pre-install commands..."
30 rm -f $1/usr/bin/perl
31 }