wok-current view perl-socket6/receipt @ rev 25791
Up expat (2.7.3), patch (2.8), openssl (3.0.18)
| author | Stanislas Leduc <shann@slitaz.org> |
|---|---|
| date | Fri Oct 03 17:05:15 2025 +0000 (3 weeks ago) |
| parents | 15650f5d595b |
| children |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-socket6"
4 VERSION="0.29"
5 CATEGORY="development"
6 SHORT_DESC="Perl extension Socket6."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/Socket6"
11 SOURCE="Socket6"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://www.cpan.org/modules/by-module/Socket6/$TARBALL"
15 DEPENDS="perl"
16 BUILD_DEPENDS="perl"
18 HOST_ARCH="i486 x86_64"
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 perl Makefile.PL &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/lib $fs/usr
39 }