wok-6.x view perl-thread/receipt @ rev 23591
python-pysol-cards: added build dependency
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 08 10:35:39 2020 +0100 (2020-04-08) |
parents | 7423cf91a25b |
children | c6796c6304f6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-thread"
4 SOURCE="perl"
5 VERSION="5.14.1"
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 ./configure.gnu --prefix=/usr -Dusethreads \
21 -Darchname="$ARCH-linux-thread-multi" \
22 -Dmyarchname="$ARCH-linux-thread-multi" \
23 -Dsitearch="/usr/lib/perl5/site_perl/$VERSION/$ARCH-linux-thread-multi" \
24 -Dsitearchexp="/usr/lib/perl5/site_perl/$VERSION/$ARCH-linux-thread-multi" \
25 -Darchlib="/usr/lib/perl5/$VERSION/$ARCH-linux-thread-multi" \
26 -Darchlibexp="/usr/lib/perl5/$VERSION/$ARCH-linux-thread-multi" \
27 -Dinstallarchlib="/usr/lib/perl5/$VERSION/$ARCH-linux-thread-multi" &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 }
40 # Pre install commands for Tazpkg.
41 # Remove perl link to microperl if any.
42 #
43 pre_install()
44 {
45 rm -f "$1/usr/bin/perl"
46 }