wok annotate perl-html-tagset/receipt @ rev 25609
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 20 14:03:05 2023 +0000 (16 months ago) |
parents | ca4a422cce07 |
children |
rev | line source |
---|---|
pascal@2240 | 1 # SliTaz package receipt. |
pascal@2240 | 2 |
pascal@2240 | 3 PACKAGE="perl-html-tagset" |
pascal@2240 | 4 VERSION="3.20" |
pascal@2240 | 5 CATEGORY="development" |
pascal@2240 | 6 SHORT_DESC="HTML::Tagset module is a Perl extension." |
pascal@2240 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@2240 | 9 DEPENDS="perl" |
pascal@2240 | 10 BUILD_DEPENDS="perl" |
pascal@2240 | 11 SOURCE="HTML-Tagset" |
pascal@2240 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@24103 | 13 WEB_SITE="https://metacpan.org/dist/HTML-Tagset" |
pascal@24975 | 14 WGET_URL="https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/$TARBALL" |
pascal@2240 | 15 |
pascal@24103 | 16 current_version() |
pascal@24103 | 17 { |
pascal@24103 | 18 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24103 | 19 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24103 | 20 } |
pascal@24103 | 21 |
pascal@2240 | 22 # Rules to configure and make the package. |
pascal@2240 | 23 compile_rules() |
pascal@2240 | 24 { |
pascal@2240 | 25 mv $SOURCE $src 2> /dev/null |
pascal@2240 | 26 cd $src |
pascal@2240 | 27 perl Makefile.PL && |
pascal@2240 | 28 make && |
pascal@14702 | 29 make DESTDIR=$DESTDIR install |
pascal@2240 | 30 } |
pascal@2240 | 31 |
pascal@2240 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2240 | 33 genpkg_rules() |
pascal@2240 | 34 { |
pascal@2240 | 35 mkdir -p $fs/usr |
pascal@14702 | 36 cp -a $install/usr/lib $fs/usr |
pascal@2240 | 37 } |
pascal@2240 | 38 |