wok-6.x annotate perl-html-tagset/receipt @ rev 25292

updated rubberband (2.0.2 -> 3.0.0)
author Hans-G?nter Theisgen
date Tue Jul 19 10:19:50 2022 +0100 (2022-07-19)
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