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

updated pyvim (2.0.24 -> 3.0.2)
author Hans-G?nter Theisgen
date Thu Jul 14 07:49:44 2022 +0100 (2022-07-14)
parents c365fe17a816
children
rev   line source
pascal@20471 1 # SliTaz package receipt.
pascal@20471 2
pascal@20471 3 PACKAGE="libwww-perl"
Hans-G?nter@24850 4 VERSION="6.61"
pascal@20471 5 CATEGORY="development"
Hans-G?nter@23121 6 SHORT_DESC="A simple and consistent API to the WWW in PERL."
pascal@20471 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20471 8 LICENSE="GPL"
pascal@24105 9 WEB_SITE="https://metacpan.org/dist/libwww-perl"
Hans-G?nter@24850 10 REPOLOGY="perl:libwww-perl"
Hans-G?nter@23121 11
Hans-G?nter@23121 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@23121 13 WGET_URL="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/$TARBALL"
Hans-G?nter@23121 14
Hans-G?nter@23121 15 DEPENDS="perl-io perl-module-metadata"
pascal@20471 16 BUILD_DEPENDS="$DEPENDS"
pascal@20471 17
pascal@24105 18 current_version()
pascal@24105 19 {
pascal@24105 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24105 21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24105 22 }
pascal@24105 23
pascal@20471 24 # Rules to configure and make the package.
pascal@20471 25 compile_rules()
pascal@20471 26 {
pascal@20471 27 perl Makefile.PL &&
pascal@20471 28 make &&
Hans-G?nter@24850 29 make install DESTDIR=$DESTDIR
pascal@20471 30 }
pascal@20471 31
pascal@20471 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20471 33 genpkg_rules()
pascal@20471 34 {
Hans-G?nter@24850 35 cook_copy_folders lib
pascal@20471 36 }