wok view perl-thread/receipt @ rev 24662
updated imagemagick and imagemagick-dev (7.0.9.26 -> 7.1.0.27)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 14:03:06 2022 +0100 (2022-03-11) |
parents | c6796c6304f6 |
children |
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="https://www.perl.org/"
14 WGET_URL="http://ftp.funet.fi/pub/CPAN/src/$TARBALL"
16 current_version()
17 {
18 wget -O - $WEB_SITE 2>/dev/null | \
19 sed '/version-highlight/!d;s|.*">||;s|<.*||;q'
20 }
22 # Rules to configure and make the package.
23 #
24 compile_rules()
25 {
26 ./configure.gnu --prefix=/usr -Dusethreads \
27 -Darchname="$ARCH-linux-thread-multi" \
28 -Dmyarchname="$ARCH-linux-thread-multi" \
29 -Dsitearch="/usr/lib/perl5/site_perl/$VERSION/$ARCH-linux-thread-multi" \
30 -Dsitearchexp="/usr/lib/perl5/site_perl/$VERSION/$ARCH-linux-thread-multi" \
31 -Darchlib="/usr/lib/perl5/$VERSION/$ARCH-linux-thread-multi" \
32 -Darchlibexp="/usr/lib/perl5/$VERSION/$ARCH-linux-thread-multi" \
33 -Dinstallarchlib="/usr/lib/perl5/$VERSION/$ARCH-linux-thread-multi" &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib $fs/usr
44 }
46 # Pre install commands for Tazpkg.
47 # Remove perl link to microperl if any.
48 #
49 pre_install()
50 {
51 rm -f "$1/usr/bin/perl"
52 }