# HG changeset patch # User Pascal Bellard # Date 1382350830 0 # Node ID d9097791a13e277c5d9ada9a2f0700ea34f333c8 # Parent 2a5cc8208d36424a0fdab3d80c9ed13e554027ac Add perl-thread diff -r 2a5cc8208d36 -r d9097791a13e apache-mod-perl/receipt --- a/apache-mod-perl/receipt Sun Oct 20 22:08:25 2013 +0000 +++ b/apache-mod-perl/receipt Mon Oct 21 10:20:30 2013 +0000 @@ -11,8 +11,8 @@ WEB_SITE="http://perl.apache.org/" WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/$TARBALL" -DEPENDS="apache" -BUILD_DEPENDS="perl gdbm-dev apache-dev apr-dev apr-util-dev apache" +DEPENDS="apache perl-thread" +BUILD_DEPENDS="perl-thread gdbm-dev apache-dev apr-dev apr-util-dev apache" # Rules to configure and make the package. compile_rules() diff -r 2a5cc8208d36 -r d9097791a13e perl-thread/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-thread/receipt Mon Oct 21 10:20:30 2013 +0000 @@ -0,0 +1,40 @@ +# SliTaz package receipt. + +PACKAGE="perl-thread" +VERSION="5.12.3" +CATEGORY="development" +SHORT_DESC="Full Perl interpreter and modules." +MAINTAINER="pankso@slitaz.org" +LICENSE="GPL" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +DEPENDS="libdb gdbm zlib" +BUILD_DEPENDS="db gdbm zlib less" +WEB_SITE="http://www.perl.org/" +WGET_URL="http://ftp.funet.fi/pub/CPAN/src/$TARBALL" + +# Rules to configure and make the package. +# +compile_rules() +{ + cd $src + ./configure.gnu --prefix=/usr -Dusethreads && + make && + make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib $fs/usr +} + +# Pre install commands for Tazpkg. +# Remove perl link to microperl if any. +# +pre_install() +{ + echo "Processing pre-install commands..." + rm -f $1/usr/bin/perl +} diff -r 2a5cc8208d36 -r d9097791a13e perl/receipt --- a/perl/receipt Sun Oct 20 22:08:25 2013 +0000 +++ b/perl/receipt Mon Oct 21 10:20:30 2013 +0000 @@ -34,7 +34,7 @@ compile_rules() { cd $src - ./configure.gnu --prefix=/usr -Dusethreads && + ./configure.gnu --prefix=/usr && make && make install