wok-next view perl-thread/receipt @ rev 20229
Up cookutils (1002), ladspa (v2), liblo (0.29), hydrogen, svgcleaner; add svgcleaner-gui
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 06 03:21:50 2017 +0200 (2017-11-06) |
parents | 6fab3264ba87 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-thread"
4 VERSION="5.24.1"
5 CATEGORY="development"
6 SHORT_DESC="Full Perl interpreter and modules"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://www.perl.org/"
11 TARBALL="perl-$VERSION.tar.bz2"
12 WGET_URL="http://www.cpan.org/src/5.0/$TARBALL"
14 DEPENDS="libdb gdbm zlib"
15 BUILD_DEPENDS="db gdbm zlib less"
16 SIBLINGS="microperl perl-thread"
18 # Rules to configure and make the package.
19 #
20 compile_rules()
21 {
22 ./configure.gnu \
23 --prefix=/usr \
24 -Dusethreads &&
25 make &&
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 copy bin/ lib/
33 }
35 # Pre install commands for Tazpkg.
36 # Remove perl link to microperl if any.
37 #
38 pre_install() {
39 [ ! -e "$1/usr/bin/perl" ] || rm -f "$1/usr/bin/perl"
40 }