wok annotate perl-ipc-system-simple/receipt @ rev 25028

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 17:04:56 2022 +0000 (2022-05-19)
parents 39fe2d0cb7fb
children b27d8c263cba
rev   line source
Hans-G?nter@24179 1 # SliTaz package receipt.
Hans-G?nter@24179 2
Hans-G?nter@24179 3 PACKAGE="perl-ipc-system-simple"
Hans-G?nter@24179 4 VERSION="1.30"
Hans-G?nter@24179 5 CATEGORY="development"
Hans-G?nter@24179 6 SHORT_DESC="Perl extension to run commands simply, with detailed diagnostics."
Hans-G?nter@24179 7 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@24179 8 LICENSE="GPL"
Hans-G?nter@24179 9 WEB_SITE="https://metacpan.org/pod/IPC::System::Simple"
Hans-G?nter@24179 10 REPOLOGY="perl:ipc-system-simple"
Hans-G?nter@24179 11
Hans-G?nter@24179 12 SOURCE="IPC-System-Simple"
Hans-G?nter@24179 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@24179 14 WGET_URL="https://www.cpan.org/modules/by-module/IPC/$TARBALL"
Hans-G?nter@24179 15
Hans-G?nter@24179 16 DEPENDS="perl"
Hans-G?nter@24179 17 BUILD_DEPENDS="perl"
Hans-G?nter@24179 18
pascal@24180 19 current_version()
pascal@24180 20 {
pascal@24180 21 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24180 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24180 23 }
pascal@24180 24
Hans-G?nter@24179 25 # Rules to configure and make the package.
Hans-G?nter@24179 26 compile_rules()
Hans-G?nter@24179 27 {
Hans-G?nter@24179 28 perl Makefile.PL &&
Hans-G?nter@24179 29 make &&
Hans-G?nter@24179 30 make install DESTDIR=$DESTDIR
Hans-G?nter@24179 31 }
Hans-G?nter@24179 32
Hans-G?nter@24179 33 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@24179 34 genpkg_rules()
Hans-G?nter@24179 35 {
Hans-G?nter@24179 36 cook_copy_folders lib
Hans-G?nter@24179 37 }