wok-current annotate perl-test-fatal/receipt @ rev 24107

updated adminer (4.7.5 -> 4.8.1)
author Hans-G?nter Theisgen
date Sat Sep 25 17:50:51 2021 +0100 (2021-09-25)
parents 6e8b1bcb30e2
children 932ab43ca54a
rev   line source
nneul@18450 1 # SliTaz package receipt.
nneul@18450 2
nneul@18450 3 PACKAGE="perl-test-fatal"
nneul@18450 4 VERSION="0.014"
nneul@18450 5 CATEGORY="development"
nneul@18450 6 SHORT_DESC="Test::Fatal is a perl module"
nneul@18450 7 MAINTAINER="nneul@neulinger.org"
nneul@18450 8 LICENSE="GPL"
pascal@20671 9 WEB_SITE="https://metacpan.org/release/Test-Fatal"
nneul@18450 10 SOURCE="Test-Fatal"
nneul@18450 11 TARBALL="$SOURCE-$VERSION.tar.gz"
nneul@18450 12 WGET_URL="http://www.cpan.org/authors/id/R/RJ/RJBS/$TARBALL"
nneul@18450 13
nneul@18450 14 DEPENDS="perl perl-try-tiny perl-test-simple"
nneul@18450 15 BUILD_DEPENDS="$DEPENDS"
nneul@18450 16
pascal@24102 17 current_version()
pascal@24102 18 {
pascal@24102 19 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24102 20 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24102 21 }
pascal@24102 22
nneul@18450 23 # Rules to configure and make the package.
nneul@18450 24 compile_rules()
nneul@18450 25 {
nneul@18450 26 cd $src
nneul@18450 27 perl Makefile.PL &&
nneul@18450 28 make &&
nneul@18450 29 make DESTDIR=$DESTDIR install
nneul@18450 30 }
nneul@18450 31
nneul@18450 32 # Rules to gen a SliTaz package suitable for Tazpkg.
nneul@18450 33 genpkg_rules()
nneul@18450 34 {
nneul@18450 35 cp -a $install/usr $fs
nneul@18450 36 }