wok-6.x annotate perl-number-range/receipt @ rev 24289

updated sshguard (2.4.0 -> 2.4.2)
author Hans-G?nter Theisgen
date Fri Jan 14 13:25:50 2022 +0100 (2022-01-14)
parents 897404ded984
children
rev   line source
pascal@13352 1 # SliTaz package receipt.
pascal@13352 2
pascal@13352 3 PACKAGE="perl-number-range"
Hans-G?nter@23383 4 VERSION="0.12"
pascal@13352 5 CATEGORY="development"
Hans-G?nter@23383 6 SHORT_DESC="Perl extension Number::Range."
pascal@13352 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14702 8 LICENSE="GPL"
Hans-G?nter@23383 9 WEB_SITE="https://metacpan.org/release/Number-Range"
Hans-G?nter@23383 10
Hans-G?nter@23383 11 SOURCE="Number-Range"
Hans-G?nter@23383 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23383 13 WGET_URL="https://www.cpan.org/modules/by-module/Number/$TARBALL"
Hans-G?nter@23383 14
pascal@13352 15 DEPENDS="perl"
pascal@13352 16 BUILD_DEPENDS="perl"
pascal@13352 17
pascal@24102 18 current_version()
pascal@24102 19 {
pascal@24102 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24102 21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24102 22 }
pascal@24102 23
pascal@13352 24 # Rules to configure and make the package.
pascal@13352 25 compile_rules()
pascal@13352 26 {
pascal@13352 27 perl Makefile.PL &&
pascal@13352 28 make &&
pascal@13352 29 make install DESTDIR=$DESTDIR
pascal@13352 30 }
pascal@13352 31
pascal@13352 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13352 33 genpkg_rules()
pascal@13352 34 {
pascal@13352 35 mkdir -p $fs/usr
Hans-G?nter@23383 36 cp -a $install/usr/lib $fs/usr
pascal@13352 37 }