wok annotate perl-io-socket-ssl/receipt @ rev 25506
memtest, pack: cleanup
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 09 16:28:01 2023 +0000 (18 months ago) |
parents | 15650f5d595b |
children | b27d8c263cba |
rev | line source |
---|---|
pascal@1669 | 1 # SliTaz package receipt. |
pascal@1669 | 2 |
pascal@1669 | 3 PACKAGE="perl-io-socket-ssl" |
Hans-G?nter@24225 | 4 VERSION="2.073" |
pascal@1669 | 5 CATEGORY="development" |
Hans-G?nter@23352 | 6 SHORT_DESC="Perl extension IO::Socket::SSL." |
pascal@1669 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24225 | 9 WEB_SITE="https://metacpan.org/pod/IO::Socket::SSL" |
Hans-G?nter@24225 | 10 REPOLOGY="perl:io-socket-ssl" |
Hans-G?nter@23352 | 11 |
Hans-G?nter@23352 | 12 SOURCE="IO-Socket-SSL" |
Hans-G?nter@23352 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23352 | 14 WGET_URL="https://www.cpan.org/modules/by-module/IO/$TARBALL" |
Hans-G?nter@23352 | 15 |
pascal@1669 | 16 DEPENDS="perl" |
pascal@1669 | 17 BUILD_DEPENDS="perl" |
pascal@1669 | 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 |
pascal@1669 | 25 # Rules to configure and make the package. |
pascal@1669 | 26 compile_rules() |
pascal@1669 | 27 { |
pascal@20571 | 28 yes '' | perl Makefile.PL && |
pascal@20571 | 29 make && |
Hans-G?nter@24225 | 30 make install DESTDIR=$DESTDIR |
pascal@1669 | 31 } |
pascal@1669 | 32 |
pascal@1669 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1669 | 34 genpkg_rules() |
pascal@1669 | 35 { |
Hans-G?nter@24225 | 36 cook_copy_folders lib |
pascal@1669 | 37 } |