wok-current rev 1817
Add: perl-core.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Dec 05 15:24:55 2008 +0100 (2008-12-05) |
parents | a9705edeed03 |
children | 3687ab277aeb |
files | perl-core/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-core/receipt Fri Dec 05 15:24:55 2008 +0100 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="perl-core" 1.7 +VERSION="5.10.0" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Minimal Perl interpreter." 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +SOURCE="perl" 1.12 +WANTED="perl" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://www.perl.org/" 1.15 + 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + _pkg=${WOK}/${WANTED}/${WANTED}-${VERSION}/_pkg 1.21 + mkdir -p $fs/usr/bin 1.22 + cp -a $_pkg/usr/bin/perl${VERSION} $fs/usr/bin/ 1.23 + cd $fs/usr/bin 1.24 + ln -s perl${VERSION} perl 1.25 +} 1.26 + 1.27 +# Pre install commands for Tazpkg. 1.28 +# Remove perl link to microperl if any. 1.29 +# 1.30 +pre_install() 1.31 +{ 1.32 + echo "Processing pre-install commands..." 1.33 + rm -f $1/usr/bin/perl 1.34 +}