wok-6.x annotate perl-libwww/receipt @ rev 25335

updated libhtp and libhtp-dev (0.5.39 -> 0.5.40)
author Hans-G?nter Theisgen
date Sat Jul 23 17:39:36 2022 +0100 (2022-07-23)
parents 15650f5d595b
children
rev   line source
slaxemulator@7698 1 # SliTaz package receipt.
slaxemulator@7698 2
slaxemulator@7698 3 PACKAGE="perl-libwww"
erjo@11832 4 VERSION="6.04"
slaxemulator@7698 5 CATEGORY="development"
slaxemulator@7698 6 SHORT_DESC="A set of Perl modules which provides a simple and consistent API to the WWW"
slaxemulator@7698 7 MAINTAINER="slaxemulator@gmail.com"
pascal@14702 8 LICENSE="GPL"
erjo@12229 9 DEPENDS="perl-uri perl-html-parser perl-encode-locale perl-file-listing \
erjo@12229 10 perl-html-parser perl-http-cookies perl-http-daemon perl-http-date \
erjo@12229 11 perl-http-negotiate perl-http-message perl-lwp-mediatypes perl-mime-base64 \
erjo@12229 12 perl-net-ftp perl-net-http perl-www-robotrules"
slaxemulator@7698 13 BUILD_DEPENDS="perl $DEPENDS"
slaxemulator@7698 14 SOURCE="libwww-perl"
slaxemulator@7698 15 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@20671 16 WEB_SITE="https://metacpan.org/release/libwww-perl/"
pascal@24979 17 WGET_URL="https://cpan.metacpan.org/authors/id/G/GA/GAAS/$TARBALL"
slaxemulator@7698 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
slaxemulator@7698 25 # Rules to configure and make the package.
slaxemulator@7698 26 compile_rules()
slaxemulator@7698 27 {
slaxemulator@7698 28 cd $src
slaxemulator@11285 29 perl Makefile.PL &&
slaxemulator@11285 30 make &&
slaxemulator@11285 31 make DESTDIR=$DESTDIR install
slaxemulator@7698 32 }
slaxemulator@7698 33
slaxemulator@7698 34 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7698 35 genpkg_rules()
slaxemulator@7698 36 {
slaxemulator@7698 37 mkdir -p $fs/usr
pascal@14702 38 cp -a $install/usr/bin $fs/usr
pascal@14702 39 cp -a $install/usr/lib $fs/usr
slaxemulator@7698 40 }