wok-current view perl-thread/receipt @ rev 25694

Fix cifs-utils, up grub2-efi-x64 stuff for iso EFI
author Stanislas Leduc <shann@slitaz.org>
date Sat Mar 30 18:05:22 2024 +0000 (7 months ago)
parents a23978bfa665
children
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"
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 }