wok view perl-test-tester/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents f32496b1aee4
children
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-test-tester"
4 VERSION="0.109"
5 CATEGORY="development"
6 SHORT_DESC="Ease testing test modules built with Test::Builder"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL"
9 SOURCE="Test-Tester"
10 WEB_SITE="https://metacpan.org/release/FDALY/$SOURCE-$VERSION"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="https://cpan.metacpan.org/authors/id/F/FD/FDALY/$TARBALL"
14 DEPENDS="perl"
15 BUILD_DEPENDS="perl"
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 perl Makefile.PL &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }