wok view perl-module-implementation/receipt @ rev 25703

some perl-*: update web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 04 16:09:04 2024 +0000 (2 weeks ago)
parents 15650f5d595b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-module-implementation"
4 VERSION="0.09"
5 CATEGORY="development"
6 SHORT_DESC="Module::Implementation is a perl module"
7 MAINTAINER="nneul@neulinger.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/dist/Module-Implementation"
10 SOURCE="Module-Implementation"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="http://www.cpan.org/authors/id/D/DR/DROLSKY/$TARBALL"
14 DEPENDS="perl perl-test-requires perl-module-runtime"
15 BUILD_DEPENDS="$DEPENDS"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 perl Makefile.PL &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/usr $fs
37 }