wok annotate perl-test-exception/receipt @ rev 24255

updated perl-test-fatal (0.014 -> 0.016)
author Hans-G?nter Theisgen
date Sun Jan 02 09:59:54 2022 +0100 (2022-01-02)
parents 794eebcdf3b6
children 0af8df0b46fc
rev   line source
pascal@9281 1 # SliTaz package receipt.
pascal@9281 2
pascal@9281 3 PACKAGE="perl-test-exception"
Hans-G?nter@23396 4 VERSION="0.43"
pascal@9281 5 CATEGORY="development"
Hans-G?nter@23396 6 SHORT_DESC="Perl extension Test::Exception."
pascal@9281 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14702 8 LICENSE="GPL"
Hans-G?nter@23396 9 WEB_SITE="https://metacpan.org/release/Test-Exception"
Hans-G?nter@23396 10
Hans-G?nter@23396 11 SOURCE="Test-Exception"
Hans-G?nter@23396 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23396 13 WGET_URL="https://www.cpan.org/modules/by-module/Test/$TARBALL"
Hans-G?nter@23396 14
pascal@9281 15 DEPENDS="perl"
pascal@9281 16 BUILD_DEPENDS="perl"
pascal@9281 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@9281 24 # Rules to configure and make the package.
pascal@9281 25 compile_rules()
pascal@9281 26 {
pascal@9281 27 perl Makefile.PL &&
pascal@9281 28 make &&
pascal@14702 29 make DESTDIR=$DESTDIR install
pascal@9281 30 }
pascal@9281 31
pascal@9281 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@9281 33 genpkg_rules()
pascal@9281 34 {
pascal@9281 35 mkdir -p $fs/usr
Hans-G?nter@23396 36 cp -a $install/usr/lib $fs/usr
pascal@9281 37 }