wok-current annotate libwww-perl/receipt @ rev 24374

avrdude: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 05 17:11:25 2022 +0000 (2022-02-05)
parents 4c03e8b3a67f
children 00dfb3b8e79d
rev   line source
pascal@20471 1 # SliTaz package receipt.
pascal@20471 2
pascal@20471 3 PACKAGE="libwww-perl"
Hans-G?nter@23121 4 VERSION="6.43"
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@23121 10
Hans-G?nter@23121 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@23121 12 WGET_URL="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/$TARBALL"
Hans-G?nter@23121 13
Hans-G?nter@23121 14 DEPENDS="perl-io perl-module-metadata"
pascal@20471 15 BUILD_DEPENDS="$DEPENDS"
pascal@20471 16
pascal@24105 17 current_version()
pascal@24105 18 {
pascal@24105 19 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24105 20 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24105 21 }
pascal@24105 22
pascal@20471 23 # Rules to configure and make the package.
pascal@20471 24 compile_rules()
pascal@20471 25 {
pascal@20471 26 perl Makefile.PL &&
pascal@20471 27 make &&
pascal@20471 28 make DESTDIR=$DESTDIR install
pascal@20471 29 }
pascal@20471 30
pascal@20471 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20471 32 genpkg_rules()
pascal@20471 33 {
pascal@20471 34 mkdir -p $fs/usr
Hans-G?nter@23121 35 cp -a $install/usr/lib $fs/usr
pascal@20471 36 }