wok-current annotate perl-fcgi-procmanager/receipt @ rev 25177

Update some web_site & wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 02 13:44:10 2022 +0000 (2022-07-02)
parents 4f0bae1cc0af
children
rev   line source
nneul@17871 1 # SliTaz package receipt.
nneul@17871 2
nneul@17871 3 PACKAGE="perl-fcgi-procmanager"
Hans-G?nter@23327 4 VERSION="0.28"
nneul@17871 5 CATEGORY="development"
Hans-G?nter@23327 6 SHORT_DESC="Perl Module FCGI::ProcManager."
nneul@17871 7 MAINTAINER="nneul@neulinger.org"
nneul@17871 8 LICENSE="GPL"
Hans-G?nter@23327 9 WEB_SITE="https://metacpan.org/release/FCGI-ProcManager/"
Hans-G?nter@23327 10
Hans-G?nter@23327 11 SOURCE="FCGI-ProcManager"
Hans-G?nter@23327 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23327 13 WGET_URL="https://www.cpan.org/modules/by-module/FCGI/$TARBALL"
Hans-G?nter@23327 14
nneul@17871 15 DEPENDS="perl"
nneul@17871 16 BUILD_DEPENDS="perl"
nneul@17871 17
pascal@24102 18 current_version()
pascal@24102 19 {
pascal@24102 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24102 21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24102 22 }
pascal@24102 23
nneul@17871 24 # Rules to configure and make the package.
nneul@17871 25 compile_rules()
nneul@17871 26 {
nneul@17871 27 perl Makefile.PL &&
nneul@17871 28 make &&
nneul@17871 29 make DESTDIR=$DESTDIR install
nneul@17871 30 }
nneul@17871 31
nneul@17871 32 # Rules to gen a SliTaz package suitable for Tazpkg.
nneul@17871 33 genpkg_rules()
nneul@17871 34 {
nneul@17871 35 mkdir -p $fs/usr
Hans-G?nter@23327 36 cp -a $install/usr/lib $fs/usr
Hans-G?nter@23327 37
nneul@17871 38 # remove perllocal.pod and .packlist
Hans-G?nter@23327 39 find $fs -name perllocal.pod -delete
Hans-G?nter@23327 40 find $fs -name .packlist -delete
nneul@17871 41 }