wok-current annotate perl-crypt-cbc/receipt @ rev 25024

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 18 20:10:17 2022 +0000 (2022-05-18)
parents ca4a422cce07
children
rev   line source
nneul@18264 1 # SliTaz package receipt.
nneul@18264 2
nneul@18264 3 PACKAGE="perl-crypt-cbc"
Hans-G?nter@24190 4 VERSION="3.04"
nneul@18264 5 CATEGORY="development"
nneul@18264 6 SHORT_DESC="Crypt::CBC module is a Perl extension."
nneul@18264 7 MAINTAINER="nneul@neulinger.org"
Hans-G?nter@24190 8 LICENSE="GPL"
Hans-G?nter@24190 9 WEB_SITE="https://metacpan.org/pod/Crypt::CBC"
Hans-G?nter@24190 10 REPOLOGY="perl:crypt-cbc"
Hans-G?nter@24190 11
Hans-G?nter@24190 12 SOURCE="Crypt-CBC"
Hans-G?nter@24190 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@24190 14 WGET_URL="https://cpan.org/authors/id/L/LD/LDS/$TARBALL"
Hans-G?nter@24190 15
nneul@18264 16 DEPENDS="perl"
nneul@18264 17 BUILD_DEPENDS="perl"
nneul@18264 18
pascal@24103 19 current_version()
pascal@24103 20 {
pascal@24103 21 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24103 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24103 23 }
pascal@24103 24
nneul@18264 25 # Rules to configure and make the package.
nneul@18264 26 compile_rules()
nneul@18264 27 {
Hans-G?nter@24190 28 perl Makefile.PL &&
Hans-G?nter@24190 29 make &&
Hans-G?nter@24190 30 make install DESTDIR=$DESTDIR
nneul@18264 31 }
nneul@18264 32
nneul@18264 33 # Rules to gen a SliTaz package suitable for Tazpkg.
nneul@18264 34 genpkg_rules()
nneul@18264 35 {
Hans-G?nter@24190 36 cook_copy_folders lib
nneul@18264 37 }