wok-current view perl-test-tester/receipt @ rev 25519
created recipes for libuv and libuv-dev 1.44.1
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 15:35:59 2023 +0100 (18 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 }