wok-current annotate perl-html-parser/receipt @ rev 24107

updated adminer (4.7.5 -> 4.8.1)
author Hans-G?nter Theisgen
date Sat Sep 25 17:50:51 2021 +0100 (2021-09-25)
parents 18c66805dd1a
children 78c6039421c0
rev   line source
pascal@2241 1 # SliTaz package receipt.
pascal@2241 2
pascal@2241 3 PACKAGE="perl-html-parser"
pascal@20905 4 VERSION="3.72"
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"
pascal@2241 9 DEPENDS="perl perl-html-tagset"
pascal@2241 10 BUILD_DEPENDS="perl perl-html-tagset"
pascal@2241 11 SOURCE="HTML-Parser"
pascal@2241 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@20905 13 WEB_SITE="https://metacpan.org/release/HTML-Parser"
pascal@20905 14 WGET_URL="https://cpan.metacpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL"
pascal@2241 15
pascal@24102 16 current_version()
pascal@24102 17 {
pascal@24102 18 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24102 19 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24102 20 }
pascal@24102 21
pascal@2241 22 # Rules to configure and make the package.
pascal@2241 23 compile_rules()
pascal@2241 24 {
pascal@2241 25 perl Makefile.PL &&
pascal@2241 26 make &&
slaxemulator@11840 27 make DESTDIR=$DESTDIR install
pascal@2241 28 }
pascal@2241 29
pascal@2241 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2241 31 genpkg_rules()
pascal@2241 32 {
pascal@2241 33 mkdir -p $fs/usr
pascal@14702 34 cp -a $install/usr/lib $fs/usr
pascal@2241 35 }