wok annotate perl-test-requires/receipt @ rev 25249

updated python-websocket-client (0.57.0 -> 0.59.0)
author Hans-G?nter Theisgen
date Thu Jul 14 07:30:53 2022 +0100 (2022-07-14)
parents 15650f5d595b
children b27d8c263cba
rev   line source
nneul@18450 1 # SliTaz package receipt.
nneul@18450 2
nneul@18450 3 PACKAGE="perl-test-requires"
Hans-G?nter@24258 4 VERSION="0.11"
nneul@18450 5 CATEGORY="development"
Hans-G?nter@23402 6 SHORT_DESC="Perl extension Test::Requires."
nneul@18450 7 MAINTAINER="nneul@neulinger.org"
nneul@18450 8 LICENSE="GPL"
Hans-G?nter@24258 9 WEB_SITE="https://metacpan.org/pod/Test::Requires"
Hans-G?nter@24258 10 REPOLOGY="perl:test-requires"
Hans-G?nter@23402 11
nneul@18450 12 SOURCE="Test-Requires"
nneul@18450 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23402 14 WGET_URL="https://www.cpan.org/modules/by-module/Test/$TARBALL"
nneul@18450 15
nneul@18450 16 DEPENDS="perl"
Hans-G?nter@23402 17 BUILD_DEPENDS="perl perl-extutils-makemaker"
nneul@18450 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
nneul@18450 25 # Rules to configure and make the package.
nneul@18450 26 compile_rules()
nneul@18450 27 {
nneul@18450 28 perl Makefile.PL &&
nneul@18450 29 make &&
Hans-G?nter@24258 30 make install DESTDIR=$DESTDIR
nneul@18450 31 }
nneul@18450 32
nneul@18450 33 # Rules to gen a SliTaz package suitable for Tazpkg.
nneul@18450 34 genpkg_rules()
nneul@18450 35 {
Hans-G?nter@24258 36 cook_copy_folders lib
nneul@18450 37 }