wok-current annotate perl-io-compress/receipt @ rev 25720
Up gnumeric (1.12.57) and deps
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Jun 18 11:05:31 2024 +0000 (6 months ago) |
parents | b8122092e5d9 |
children | 5926178cd6fa |
rev | line source |
---|---|
erjo@2647 | 1 # SliTaz package receipt. |
erjo@2647 | 2 |
erjo@2647 | 3 PACKAGE="perl-io-compress" |
shann@25720 | 4 VERSION="2.212" |
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 } |