wok-6.x annotate perl-lwp-protocol-https/receipt @ rev 24765
afpfs-ng,btfs,curlftpfs,ddumbfs,djmount,encfs,exfat-utils,fusecloop,fusedav,fuseiso,httpfs2-fuse: try fuse2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 18 17:45:47 2022 +0000 (2022-03-18) |
parents | ca4a422cce07 |
children |
rev | line source |
---|---|
pascal@20469 | 1 # SliTaz package receipt. |
pascal@20469 | 2 |
pascal@20469 | 3 PACKAGE="perl-lwp-protocol-https" |
Hans-G?nter@24236 | 4 VERSION="6.10" |
pascal@20469 | 5 CATEGORY="development" |
pascal@20469 | 6 SHORT_DESC="LWP::Protocol::https module is a Perl extension." |
pascal@20469 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20469 | 8 LICENSE="GPL" |
Hans-G?nter@24236 | 9 WEB_SITE="https://metacpan.org/pod/LWP::Protocol::https" |
Hans-G?nter@24236 | 10 REPOLOGY="perl:lwp-protocol-https" |
Hans-G?nter@24236 | 11 SOURCE="LWP-Protocol-https" |
Hans-G?nter@24236 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@24236 | 13 WGET_URL="https://www.cpan.org/modules/by-module/LWP/$TARBALL" |
pascal@20472 | 14 DEPENDS="libwww-perl perl-io-socket-ssl" |
pascal@20472 | 15 BUILD_DEPENDS="$DEPENDS" |
pascal@20469 | 16 |
pascal@24103 | 17 current_version() |
pascal@24103 | 18 { |
pascal@24103 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24103 | 20 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24103 | 21 } |
pascal@24103 | 22 |
pascal@20469 | 23 # Rules to configure and make the package. |
pascal@20469 | 24 compile_rules() |
pascal@20469 | 25 { |
pascal@20469 | 26 perl Makefile.PL && |
pascal@20469 | 27 make && |
Hans-G?nter@24236 | 28 make install DESTDIR=$DESTDIR |
pascal@20469 | 29 } |
pascal@20469 | 30 |
pascal@20469 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20469 | 32 genpkg_rules() |
pascal@20469 | 33 { |
Hans-G?nter@24236 | 34 cook_copy_folders lib |
pascal@20469 | 35 } |