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

Up python-gevent (21.12.0), sqlite3-ruby (1.4.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 15 10:17:16 2022 +0000 (2022-01-15)
parents f32496b1aee4
children 0af8df0b46fc
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 }