wok view perl-compress-raw-bzip2/receipt @ rev 25691

Up lynis (3.1.1), ncurses-examples (20211021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 16 10:43:04 2024 +0000 (4 weeks ago)
parents c470ca10c896
children
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-compress-raw-bzip2"
4 VERSION="2.101"
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/dist/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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed '/ompress-Raw-Bzip2-/!d;s|.*zip2-||;s| -.*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 perl Makefile.PL &&
30 make &&
31 make install DESTDIR=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_folders lib
38 }