wok annotate perl-compress-raw-bzip2/receipt @ rev 24326

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 27 12:16:00 2022 +0000 (2022-01-27)
parents fe9734ecfefc
children c470ca10c896
rev   line source
erjo@2648 1 # SliTaz package receipt.
erjo@2648 2
erjo@2648 3 PACKAGE="perl-compress-raw-bzip2"
Hans-G?nter@24186 4 VERSION="2.101"
erjo@2648 5 CATEGORY="development"
Hans-G?nter@23299 6 SHORT_DESC="PERL low-level interface to bzip2."
erjo@2648 7 MAINTAINER="erjo@slitaz.org"
pascal@14702 8 LICENSE="GPL"
Hans-G?nter@24186 9 WEB_SITE="https://metacpan.org/pod/Compress::Raw::Bzip2"
Hans-G?nter@24186 10 REPOLOGY="perl:compress-raw-bzip2"
Hans-G?nter@23299 11
Hans-G?nter@23299 12 SOURCE="Compress-Raw-Bzip2"
Hans-G?nter@23299 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23299 14 WGET_URL="https://cpan.metacpan.org/authors/id/P/PM/PMQS/$TARBALL"
Hans-G?nter@23299 15
erjo@2648 16 DEPENDS="perl"
erjo@2648 17 BUILD_DEPENDS="perl"
erjo@2648 18
pascal@24102 19 current_version()
pascal@24102 20 {
pascal@24102 21 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24326 22 sed '/ompress-Raw-Bzip2-/!d;s|.*zip2-||;s| -.*||;s|"||;q'
pascal@24102 23 }
pascal@24102 24
erjo@2648 25 # Rules to configure and make the package.
erjo@2648 26 compile_rules()
erjo@2648 27 {
Hans-G?nter@23299 28 perl Makefile.PL &&
Hans-G?nter@23299 29 make &&
Hans-G?nter@24186 30 make install DESTDIR=$DESTDIR
erjo@2648 31 }
erjo@2648 32
erjo@2648 33 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2648 34 genpkg_rules()
erjo@2648 35 {
Hans-G?nter@24186 36 cook_copy_folders lib
erjo@2648 37 }