wok-next view perl-thread/receipt @ rev 20616

xrdp: up 0.9.3.1; zopfli: fix build; gcc61: attempt to fix; add gcc6 (latest among 6.x.x).
gcc61 and gcc6 are broken now.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 21 05:15:11 2018 +0300 (2018-04-21)
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 }