wok diff perl-core/receipt @ rev 6481

Up: clamav to 0.96.3.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Sep 30 02:44:36 2010 +0000 (2010-09-30)
parents
children d9be1b1a5d96
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/perl-core/receipt	Thu Sep 30 02:44:36 2010 +0000
     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 +}