wok-current annotate perl-thread/receipt @ rev 15381
Add perl-thread (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 21 10:27:52 2013 +0000 (2013-10-21) |
parents | d9097791a13e |
children | 9e01bc6321ea |
rev | line source |
---|---|
pascal@15380 | 1 # SliTaz package receipt. |
pascal@15380 | 2 |
pascal@15380 | 3 PACKAGE="perl-thread" |
pascal@15381 | 4 SOURCE="perl" |
pascal@15380 | 5 VERSION="5.12.3" |
pascal@15380 | 6 CATEGORY="development" |
pascal@15380 | 7 SHORT_DESC="Full Perl interpreter and modules." |
pascal@15380 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15380 | 9 LICENSE="GPL" |
pascal@15381 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@15380 | 11 DEPENDS="libdb gdbm zlib" |
pascal@15380 | 12 BUILD_DEPENDS="db gdbm zlib less" |
pascal@15380 | 13 WEB_SITE="http://www.perl.org/" |
pascal@15380 | 14 WGET_URL="http://ftp.funet.fi/pub/CPAN/src/$TARBALL" |
pascal@15380 | 15 |
pascal@15380 | 16 # Rules to configure and make the package. |
pascal@15380 | 17 # |
pascal@15380 | 18 compile_rules() |
pascal@15380 | 19 { |
pascal@15380 | 20 cd $src |
pascal@15380 | 21 ./configure.gnu --prefix=/usr -Dusethreads && |
pascal@15380 | 22 make && |
pascal@15380 | 23 make install |
pascal@15380 | 24 } |
pascal@15380 | 25 |
pascal@15380 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15380 | 27 genpkg_rules() |
pascal@15380 | 28 { |
pascal@15380 | 29 mkdir -p $fs/usr |
pascal@15380 | 30 cp -a $install/usr/bin $fs/usr |
pascal@15380 | 31 cp -a $install/usr/lib $fs/usr |
pascal@15380 | 32 } |
pascal@15380 | 33 |
pascal@15380 | 34 # Pre install commands for Tazpkg. |
pascal@15380 | 35 # Remove perl link to microperl if any. |
pascal@15380 | 36 # |
pascal@15380 | 37 pre_install() |
pascal@15380 | 38 { |
pascal@15380 | 39 echo "Processing pre-install commands..." |
pascal@15380 | 40 rm -f $1/usr/bin/perl |
pascal@15380 | 41 } |