wok-current view perl-io-compress/receipt @ rev 25728

Merge wok for both arch and few updates
author Stanislas Leduc <shann@slitaz.org>
date Thu Dec 05 08:39:45 2024 +0000 (3 weeks ago)
parents 5d020be7377b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-io-compress"
4 VERSION="2.212"
5 CATEGORY="development"
6 SHORT_DESC="PERL interface to zlib compression library."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/pod/IO::Uncompress::AnyUncompress"
10 REPOLOGY="perl:io-compress"
12 SOURCE="IO-Compress"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://www.cpan.org/modules/by-module/IO/$TARBALL"
16 DEPENDS="perl perl-compress-raw-bzip2 perl-compress-raw-zlib"
17 BUILD_DEPENDS="perl perl-compress-raw-bzip2 perl-compress-raw-zlib"
19 HOST_ARCH="i486 x86_64"
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 perl Makefile.PL &&
31 make &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders lib
39 }