wok view perl-test-compile/receipt @ rev 25602

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 18 09:27:49 2023 +0000 (9 months ago)
parents c3a6f662a1c1
children b27d8c263cba
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-test-compile"
4 VERSION="3.1.0"
5 CATEGORY="development"
6 SHORT_DESC="Perl extension Test::Compile."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/pod/Test::Compile"
10 REPOLOGY="perl:test-compile"
12 SOURCE="Test-Compile"
13 TARBALL="$SOURCE-v$VERSION.tar.gz"
14 WGET_URL="https://cpan.metacpan.org/authors/id/E/EG/EGILES/$TARBALL"
16 DEPENDS="perl perl-universal-require"
17 BUILD_DEPENDS="perl perl-universal-require"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 perl Makefile.PL &&
30 make &&
31 make install DESTDIR=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_folders lib
38 }