wok annotate perl-cgi/receipt @ rev 24592
.bin files don't have .note.gnu.property section
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 01 10:06:20 2022 +0000 (2022-03-01) |
parents | 15650f5d595b |
children | 943e4e95214c |
rev | line source |
---|---|
pascal@14698 | 1 # SliTaz package receipt. |
pascal@14698 | 2 |
pascal@14698 | 3 PACKAGE="perl-cgi" |
Hans-G?nter@24183 | 4 VERSION="4.53" |
pascal@14698 | 5 CATEGORY="development" |
Hans-G?nter@23295 | 6 SHORT_DESC="Perl extension CGI." |
pascal@14698 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24183 | 9 WEB_SITE="https://metacpan.org/pod/CGI" |
Hans-G?nter@24183 | 10 REPOLOGY="perl:cgi" |
Hans-G?nter@23295 | 11 |
Hans-G?nter@23295 | 12 SOURCE="CGI" |
Hans-G?nter@23295 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23295 | 14 WGET_URL="https://www.cpan.org/modules/by-module/CGI/$TARBALL" |
Hans-G?nter@23295 | 15 |
pascal@14698 | 16 DEPENDS="perl" |
pascal@14698 | 17 BUILD_DEPENDS="perl" |
pascal@14698 | 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@14698 | 25 # Rules to configure and make the package. |
pascal@14698 | 26 compile_rules() |
pascal@14698 | 27 { |
pascal@14698 | 28 perl Makefile.PL && |
pascal@14698 | 29 make && |
pascal@14698 | 30 make install DESTDIR=$DESTDIR |
pascal@14698 | 31 } |
pascal@14698 | 32 |
pascal@14698 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14698 | 34 genpkg_rules() |
pascal@14698 | 35 { |
Hans-G?nter@24183 | 36 cook_copy_folders lib |
pascal@14698 | 37 } |