wok annotate perl-html-parser/receipt @ rev 25458
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 27 16:21:52 2022 +0000 (2022-09-27) |
parents | 15650f5d595b |
children | b27d8c263cba |
rev | line source |
---|---|
pascal@2241 | 1 # SliTaz package receipt. |
pascal@2241 | 2 |
pascal@2241 | 3 PACKAGE="perl-html-parser" |
Hans-G?nter@24217 | 4 VERSION="3.76" |
pascal@2241 | 5 CATEGORY="development" |
pascal@2241 | 6 SHORT_DESC="HTML::Parser module is a Perl extension." |
pascal@2241 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24217 | 9 WEB_SITE="https://metacpan.org/pod/HTML::Parser" |
Hans-G?nter@24217 | 10 REPOLOGY="perl:html-parser" |
Hans-G?nter@24217 | 11 SOURCE="HTML-Parser" |
Hans-G?nter@24217 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@24217 | 13 WGET_URL="https://www.cpan.org/modules/by-module/HTML/$TARBALL" |
Hans-G?nter@24217 | 14 |
pascal@2241 | 15 DEPENDS="perl perl-html-tagset" |
pascal@2241 | 16 BUILD_DEPENDS="perl perl-html-tagset" |
pascal@2241 | 17 |
pascal@24102 | 18 current_version() |
pascal@24102 | 19 { |
pascal@24102 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 22 } |
pascal@24102 | 23 |
pascal@2241 | 24 # Rules to configure and make the package. |
pascal@2241 | 25 compile_rules() |
pascal@2241 | 26 { |
pascal@2241 | 27 perl Makefile.PL && |
pascal@2241 | 28 make && |
Hans-G?nter@24217 | 29 make install DESTDIR=$DESTDIR |
pascal@2241 | 30 } |
pascal@2241 | 31 |
pascal@2241 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2241 | 33 genpkg_rules() |
pascal@2241 | 34 { |
Hans-G?nter@24217 | 35 cook_copy_folders lib |
pascal@2241 | 36 } |