wok-current view perl-compress-raw-bzip2/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 (5 weeks ago)
parents 5d020be7377b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-compress-raw-bzip2"
4 VERSION="2.212"
5 CATEGORY="development"
6 SHORT_DESC="PERL low-level interface to bzip2."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/pod/Compress::Raw::Bzip2"
10 REPOLOGY="perl:compress-raw-bzip2"
12 SOURCE="Compress-Raw-Bzip2"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://cpan.metacpan.org/authors/id/P/PM/PMQS/$TARBALL"
16 DEPENDS="perl"
17 BUILD_DEPENDS="perl"
19 HOST_ARCH="i486 x86_64"
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed '/ompress-Raw-Bzip2-/!d;s|.*zip2-||;s| -.*||;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 }