wok 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 2a5cc8208d36
children 2ebee740f13d
files apache-mod-perl/receipt perl-thread/receipt perl/receipt
line diff
     1.1 --- a/apache-mod-perl/receipt	Sun Oct 20 22:08:25 2013 +0000
     1.2 +++ b/apache-mod-perl/receipt	Mon Oct 21 10:20:30 2013 +0000
     1.3 @@ -11,8 +11,8 @@
     1.4  WEB_SITE="http://perl.apache.org/"
     1.5  WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/$TARBALL"
     1.6  
     1.7 -DEPENDS="apache"
     1.8 -BUILD_DEPENDS="perl gdbm-dev apache-dev apr-dev apr-util-dev apache"
     1.9 +DEPENDS="apache perl-thread"
    1.10 +BUILD_DEPENDS="perl-thread gdbm-dev apache-dev apr-dev apr-util-dev apache"
    1.11  
    1.12  # Rules to configure and make the package.
    1.13  compile_rules()
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/perl-thread/receipt	Mon Oct 21 10:20:30 2013 +0000
     2.3 @@ -0,0 +1,40 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="perl-thread"
     2.7 +VERSION="5.12.3"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Full Perl interpreter and modules."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +LICENSE="GPL"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.13 +DEPENDS="libdb gdbm zlib"
    2.14 +BUILD_DEPENDS="db gdbm zlib less"
    2.15 +WEB_SITE="http://www.perl.org/"
    2.16 +WGET_URL="http://ftp.funet.fi/pub/CPAN/src/$TARBALL"
    2.17 +
    2.18 +# Rules to configure and make the package.
    2.19 +#
    2.20 +compile_rules()
    2.21 +{
    2.22 +	cd $src
    2.23 +	./configure.gnu --prefix=/usr -Dusethreads &&
    2.24 +	make &&
    2.25 +	make install
    2.26 +}
    2.27 +
    2.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.29 +genpkg_rules()
    2.30 +{
    2.31 +	mkdir -p $fs/usr
    2.32 +	cp -a $install/usr/bin $fs/usr
    2.33 +	cp -a $install/usr/lib $fs/usr
    2.34 +}
    2.35 +
    2.36 +# Pre install commands for Tazpkg.
    2.37 +# Remove perl link to microperl if any.
    2.38 +#
    2.39 +pre_install()
    2.40 +{
    2.41 +	echo "Processing pre-install commands..."
    2.42 +	rm -f $1/usr/bin/perl
    2.43 +}
     3.1 --- a/perl/receipt	Sun Oct 20 22:08:25 2013 +0000
     3.2 +++ b/perl/receipt	Mon Oct 21 10:20:30 2013 +0000
     3.3 @@ -34,7 +34,7 @@
     3.4  compile_rules()
     3.5  {
     3.6  	cd $src
     3.7 -	./configure.gnu --prefix=/usr -Dusethreads &&
     3.8 +	./configure.gnu --prefix=/usr &&
     3.9  	make &&
    3.10  	make install
    3.11