wok annotate perl-compress-raw-bzip2/receipt @ rev 25639
Add miss pixmaps for xarchiver, thanks kubepc
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Jan 06 09:40:30 2024 +0100 (9 months ago) |
parents | 095836df71b7 |
children | b27d8c263cba |
rev | line source |
---|---|
erjo@2648 | 1 # SliTaz package receipt. |
erjo@2648 | 2 |
erjo@2648 | 3 PACKAGE="perl-compress-raw-bzip2" |
Hans-G?nter@24186 | 4 VERSION="2.101" |
erjo@2648 | 5 CATEGORY="development" |
Hans-G?nter@23299 | 6 SHORT_DESC="PERL low-level interface to bzip2." |
erjo@2648 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24186 | 9 WEB_SITE="https://metacpan.org/pod/Compress::Raw::Bzip2" |
Hans-G?nter@24186 | 10 REPOLOGY="perl:compress-raw-bzip2" |
Hans-G?nter@23299 | 11 |
Hans-G?nter@23299 | 12 SOURCE="Compress-Raw-Bzip2" |
Hans-G?nter@23299 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23299 | 14 WGET_URL="https://cpan.metacpan.org/authors/id/P/PM/PMQS/$TARBALL" |
Hans-G?nter@23299 | 15 |
erjo@2648 | 16 DEPENDS="perl" |
erjo@2648 | 17 BUILD_DEPENDS="perl" |
erjo@2648 | 18 |
pascal@25604 | 19 # What is the latest version available today? |
pascal@24102 | 20 current_version() |
pascal@24102 | 21 { |
pascal@24102 | 22 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@25604 | 23 sed '/ompress-Raw-Bzip2-/!d;s|.*zip2-||;s| -.*||;s|".*||;q' |
pascal@24102 | 24 } |
pascal@24102 | 25 |
erjo@2648 | 26 # Rules to configure and make the package. |
erjo@2648 | 27 compile_rules() |
erjo@2648 | 28 { |
Hans-G?nter@23299 | 29 perl Makefile.PL && |
Hans-G?nter@23299 | 30 make && |
Hans-G?nter@24186 | 31 make install DESTDIR=$DESTDIR |
erjo@2648 | 32 } |
erjo@2648 | 33 |
erjo@2648 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2648 | 35 genpkg_rules() |
erjo@2648 | 36 { |
Hans-G?nter@24186 | 37 cook_copy_folders lib |
erjo@2648 | 38 } |