wok-6.x annotate perl-test-tester/receipt @ rev 25235

updated python-serial (3.4 -> 3.5)
author Hans-G?nter Theisgen
date Wed Jul 13 17:36:30 2022 +0100 (2022-07-13)
parents f32496b1aee4
children
rev   line source
slaxemulator@11911 1 # SliTaz package receipt.
slaxemulator@11911 2
slaxemulator@11911 3 PACKAGE="perl-test-tester"
pascal@20909 4 VERSION="0.109"
slaxemulator@11911 5 CATEGORY="development"
slaxemulator@11911 6 SHORT_DESC="Ease testing test modules built with Test::Builder"
slaxemulator@11911 7 MAINTAINER="slaxemulator@gmail.com"
pascal@14702 8 LICENSE="GPL"
slaxemulator@11911 9 SOURCE="Test-Tester"
pascal@20909 10 WEB_SITE="https://metacpan.org/release/FDALY/$SOURCE-$VERSION"
slaxemulator@11911 11 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@20909 12 WGET_URL="https://cpan.metacpan.org/authors/id/F/FD/FDALY/$TARBALL"
slaxemulator@11911 13
slaxemulator@11911 14 DEPENDS="perl"
slaxemulator@11911 15 BUILD_DEPENDS="perl"
slaxemulator@11911 16
pascal@24103 17 current_version()
pascal@24103 18 {
pascal@24103 19 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24103 20 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24103 21 }
pascal@24103 22
slaxemulator@11911 23 # Rules to configure and make the package.
slaxemulator@11911 24 compile_rules()
slaxemulator@11911 25 {
slaxemulator@11911 26 perl Makefile.PL &&
slaxemulator@11911 27 make &&
slaxemulator@11911 28 make DESTDIR=$DESTDIR install
slaxemulator@11911 29 }
slaxemulator@11911 30
slaxemulator@11911 31 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@11911 32 genpkg_rules()
slaxemulator@11911 33 {
slaxemulator@11911 34 cp -a $install/usr $fs
slaxemulator@11911 35 }