wok-current annotate perl-io-compress/receipt @ rev 25516
memtest64: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 19 11:36:17 2023 +0000 (22 months ago) |
parents | 15650f5d595b |
children | 5d020be7377b |
rev | line source |
---|---|
erjo@2647 | 1 # SliTaz package receipt. |
erjo@2647 | 2 |
erjo@2647 | 3 PACKAGE="perl-io-compress" |
Hans-G?nter@24222 | 4 VERSION="2.102" |
erjo@2647 | 5 CATEGORY="development" |
Hans-G?nter@23348 | 6 SHORT_DESC="PERL interface to zlib compression library." |
erjo@2647 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24222 | 9 WEB_SITE="https://metacpan.org/pod/IO::Uncompress::AnyUncompress" |
Hans-G?nter@24222 | 10 REPOLOGY="perl:io-compress" |
Hans-G?nter@23348 | 11 |
Hans-G?nter@23348 | 12 SOURCE="IO-Compress" |
Hans-G?nter@23348 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@24222 | 14 WGET_URL="https://www.cpan.org/modules/by-module/IO/$TARBALL" |
Hans-G?nter@23348 | 15 |
erjo@2647 | 16 DEPENDS="perl perl-compress-raw-bzip2 perl-compress-raw-zlib" |
erjo@2647 | 17 BUILD_DEPENDS="perl perl-compress-raw-bzip2 perl-compress-raw-zlib" |
erjo@2647 | 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@2647 | 25 # Rules to configure and make the package. |
erjo@2647 | 26 compile_rules() |
erjo@2647 | 27 { |
Hans-G?nter@23348 | 28 perl Makefile.PL && |
Hans-G?nter@23348 | 29 make && |
Hans-G?nter@24222 | 30 make install DESTDIR=$DESTDIR |
erjo@2647 | 31 } |
erjo@2647 | 32 |
erjo@2647 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2647 | 34 genpkg_rules() |
erjo@2647 | 35 { |
Hans-G?nter@24222 | 36 cook_copy_folders lib |
erjo@2647 | 37 } |