wok-current annotate perl-net-http/receipt @ rev 25786
Bump gvfs to fix issue with open files on android device, patch udev to fix mtp issue on pcmanfm
| author | Stanislas Leduc <shann@slitaz.org> |
|---|---|
| date | Tue Jul 29 18:05:13 2025 +0000 (2 months ago) |
| parents | 15650f5d595b |
| children |
| rev | line source |
|---|---|
| erjo@12228 | 1 # SliTaz package receipt. |
| erjo@12228 | 2 |
| erjo@12228 | 3 PACKAGE="perl-net-http" |
| Hans-Günter@24242 | 4 VERSION="6.21" |
| erjo@12228 | 5 CATEGORY="development" |
| Hans-Günter@23374 | 6 SHORT_DESC="Perl Low-level HTTP connection (client)." |
| erjo@12228 | 7 MAINTAINER="erjo@slitaz.org" |
| pascal@14702 | 8 LICENSE="GPL" |
| Hans-Günter@24242 | 9 WEB_SITE="https://metacpan.org/pod/Net::HTTP" |
| Hans-Günter@24242 | 10 REPOLOGY="perl:net-http" |
| Hans-Günter@23374 | 11 |
| erjo@12228 | 12 SOURCE="Net-HTTP" |
| erjo@12228 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
| Hans-Günter@24242 | 14 WGET_URL="https://www.cpan.org/modules/by-module/Net/$TARBALL" |
| erjo@12228 | 15 |
| erjo@12228 | 16 DEPENDS="perl perl-compress-raw-zlib perl-io-compress" |
| Hans-Günter@24242 | 17 BUILD_DEPENDS="perl perl-compress-raw-zlib perl-io-compress" |
| erjo@12228 | 18 |
| pascal@24102 | 19 current_version() |
| pascal@24102 | 20 { |
| pascal@24102 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
| pascal@24102 | 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
| pascal@24102 | 23 } |
| pascal@24102 | 24 |
| erjo@12228 | 25 # Rules to configure and make the package. |
| erjo@12228 | 26 compile_rules() |
| erjo@12228 | 27 { |
| Hans-Günter@23374 | 28 perl Makefile.PL && |
| Hans-Günter@23374 | 29 make && |
| Hans-Günter@24242 | 30 make install DESTDIR=$DESTDIR |
| erjo@12228 | 31 } |
| erjo@12228 | 32 |
| erjo@12228 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
| erjo@12228 | 34 genpkg_rules() |
| erjo@12228 | 35 { |
| Hans-Günter@24242 | 36 cook_copy_folders lib |
| erjo@12228 | 37 } |