wok-6.x annotate perl-compress-raw-zlib/receipt @ rev 24783

Up apache-ant (1.10.12)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 20 12:11:06 2022 +0000 (2022-03-20)
parents 15650f5d595b
children
rev   line source
erjo@2648 1 # SliTaz package receipt.
erjo@2648 2
erjo@2648 3 PACKAGE="perl-compress-raw-zlib"
Hans-G?nter@24187 4 VERSION="2.101"
erjo@2648 5 CATEGORY="development"
Hans-G?nter@23300 6 SHORT_DESC="PERL low-level interface to Zlib."
erjo@2648 7 MAINTAINER="erjo@slitaz.org"
pascal@14702 8 LICENSE="GPL"
Hans-G?nter@24187 9 WEB_SITE="https://metacpan.org/pod/Compress::Raw::Zlib"
Hans-G?nter@24187 10 REPOLOGY="perl:compress-raw-zlib"
Hans-G?nter@23300 11
Hans-G?nter@23300 12 SOURCE="Compress-Raw-Zlib"
Hans-G?nter@23300 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23300 14 WGET_URL="https://cpan.metacpan.org/authors/id/P/PM/PMQS/$TARBALL"
Hans-G?nter@23300 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@24102 22 sed '/release-name/!d;s|.*-v*||;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@23300 28 perl Makefile.PL &&
Hans-G?nter@23300 29 make &&
Hans-G?nter@24187 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@24187 36 cook_copy_folders lib
erjo@2648 37 }