wok annotate perl-test-compile/receipt @ rev 24688

updated jhead (3.04 -> 3.06.0.1)
author Hans-G?nter Theisgen
date Sat Mar 12 13:31:56 2022 +0100 (2022-03-12)
parents 15650f5d595b
children c3a6f662a1c1
rev   line source
pascal@20469 1 # SliTaz package receipt.
pascal@20469 2
pascal@20469 3 PACKAGE="perl-test-compile"
Hans-G?nter@24254 4 VERSION="3.0.1"
pascal@20469 5 CATEGORY="development"
Hans-G?nter@23394 6 SHORT_DESC="Perl extension Test::Compile."
pascal@20469 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20469 8 LICENSE="GPL"
Hans-G?nter@24254 9 WEB_SITE="https://metacpan.org/pod/Test::Compile"
Hans-G?nter@24254 10 REPOLOGY="perl:test-compile"
Hans-G?nter@23394 11
Hans-G?nter@23394 12 SOURCE="Test-Compile"
Hans-G?nter@23394 13 TARBALL="$SOURCE-v$VERSION.tar.gz"
Hans-G?nter@23394 14 WGET_URL="https://www.cpan.org/modules/by-module/Test/$TARBALL"
Hans-G?nter@23394 15
Hans-G?nter@24254 16 DEPENDS="perl perl-universal-require"
Hans-G?nter@24254 17 BUILD_DEPENDS="perl perl-universal-require"
pascal@20469 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
pascal@20469 25 # Rules to configure and make the package.
pascal@20469 26 compile_rules()
pascal@20469 27 {
pascal@20469 28 perl Makefile.PL &&
pascal@20469 29 make &&
Hans-G?nter@24254 30 make install DESTDIR=$DESTDIR
pascal@20469 31 }
pascal@20469 32
pascal@20469 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20469 34 genpkg_rules()
pascal@20469 35 {
Hans-G?nter@24254 36 cook_copy_folders lib
pascal@20469 37 }