wok view 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 source
1 # SliTaz package receipt.
3 PACKAGE="perl-thread"
4 VERSION="5.12.3"
5 CATEGORY="development"
6 SHORT_DESC="Full Perl interpreter and modules."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 DEPENDS="libdb gdbm zlib"
11 BUILD_DEPENDS="db gdbm zlib less"
12 WEB_SITE="http://www.perl.org/"
13 WGET_URL="http://ftp.funet.fi/pub/CPAN/src/$TARBALL"
15 # Rules to configure and make the package.
16 #
17 compile_rules()
18 {
19 cd $src
20 ./configure.gnu --prefix=/usr -Dusethreads &&
21 make &&
22 make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 }
33 # Pre install commands for Tazpkg.
34 # Remove perl link to microperl if any.
35 #
36 pre_install()
37 {
38 echo "Processing pre-install commands..."
39 rm -f $1/usr/bin/perl
40 }