wok diff perl-thread/receipt @ rev 15380

Add perl-thread
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 21 10:20:30 2013 +0000 (2013-10-21)
parents
children 2ebee740f13d
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/perl-thread/receipt	Mon Oct 21 10:20:30 2013 +0000
     1.3 @@ -0,0 +1,40 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="perl-thread"
     1.7 +VERSION="5.12.3"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Full Perl interpreter and modules."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="GPL"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +DEPENDS="libdb gdbm zlib"
    1.14 +BUILD_DEPENDS="db gdbm zlib less"
    1.15 +WEB_SITE="http://www.perl.org/"
    1.16 +WGET_URL="http://ftp.funet.fi/pub/CPAN/src/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +#
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	./configure.gnu --prefix=/usr -Dusethreads &&
    1.24 +	make &&
    1.25 +	make install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr
    1.32 +	cp -a $install/usr/bin $fs/usr
    1.33 +	cp -a $install/usr/lib $fs/usr
    1.34 +}
    1.35 +
    1.36 +# Pre install commands for Tazpkg.
    1.37 +# Remove perl link to microperl if any.
    1.38 +#
    1.39 +pre_install()
    1.40 +{
    1.41 +	echo "Processing pre-install commands..."
    1.42 +	rm -f $1/usr/bin/perl
    1.43 +}