wok-current view perl-thread/receipt @ rev 16095

ARMadd fbff, fbgrab, fbida, fbvnc, libexif. Fixe and update receipt
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 16 19:34:26 2014 +0100 (2014-03-16)
parents d9097791a13e
children 9e01bc6321ea
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-thread"
4 SOURCE="perl"
5 VERSION="5.12.3"
6 CATEGORY="development"
7 SHORT_DESC="Full Perl interpreter and modules."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 DEPENDS="libdb gdbm zlib"
12 BUILD_DEPENDS="db gdbm zlib less"
13 WEB_SITE="http://www.perl.org/"
14 WGET_URL="http://ftp.funet.fi/pub/CPAN/src/$TARBALL"
16 # Rules to configure and make the package.
17 #
18 compile_rules()
19 {
20 cd $src
21 ./configure.gnu --prefix=/usr -Dusethreads &&
22 make &&
23 make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib $fs/usr
32 }
34 # Pre install commands for Tazpkg.
35 # Remove perl link to microperl if any.
36 #
37 pre_install()
38 {
39 echo "Processing pre-install commands..."
40 rm -f $1/usr/bin/perl
41 }