wok-current view perl-thread/receipt @ rev 25737
Add wireshark and deps, rebuild ntfs-3g with posix acls
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Jan 28 15:25:33 2025 +0000 (7 months ago) |
parents | 3ad63c8fc2f9 |
children | 0107e03686a1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-thread"
4 SOURCE="perl"
5 VERSION="5.34.0"
6 CATEGORY="development"
7 SHORT_DESC="Full Perl interpreter and modules."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
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"
15 HOST_ARCH="i486 x86_64"
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/version-highlight/!d;s|.*">||;s|<.*||;q'
21 }
23 # Rules to configure and make the package.
24 #
25 compile_rules()
26 {
27 ./configure.gnu --prefix=/usr -Dusethreads \
28 -Darchname="$ARCH-linux-thread-multi" \
29 -Dmyarchname="$ARCH-linux-thread-multi" \
30 -Dsitearch="/usr/lib/perl5/site_perl/$VERSION/$ARCH-linux-thread-multi" \
31 -Dsitearchexp="/usr/lib/perl5/site_perl/$VERSION/$ARCH-linux-thread-multi" \
32 -Darchlib="/usr/lib/perl5/$VERSION/$ARCH-linux-thread-multi" \
33 -Darchlibexp="/usr/lib/perl5/$VERSION/$ARCH-linux-thread-multi" \
34 -Dinstallarchlib="/usr/lib/perl5/$VERSION/$ARCH-linux-thread-multi" &&
35 make &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib $fs/usr
45 }
47 # Pre install commands for Tazpkg.
48 # Remove perl link to microperl if any.
49 #
50 pre_install()
51 {
52 rm -f "$1/usr/bin/perl"
53 }