wok annotate perl-archive-zip/receipt @ rev 24773
libkeybinder: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 19 14:54:49 2022 +0000 (2022-03-19) |
parents | b87782ff44c6 |
children | 0af8df0b46fc |
rev | line source |
---|---|
pankso@3111 | 1 # SliTaz package receipt. |
pankso@3111 | 2 |
pankso@3111 | 3 PACKAGE="perl-archive-zip" |
Hans-G?nter@23289 | 4 VERSION="1.68" |
pankso@3111 | 5 CATEGORY="development" |
Hans-G?nter@23289 | 6 SHORT_DESC="Perl extension Archive::Zip." |
pankso@3111 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23289 | 9 WEB_SITE="https://metacpan.org/release/Archive-Zip" |
Hans-G?nter@23289 | 10 |
Hans-G?nter@23289 | 11 SOURCE="Archive-Zip" |
Hans-G?nter@23289 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23289 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Archive/$TARBALL" |
Hans-G?nter@23289 | 14 |
pankso@3111 | 15 DEPENDS="perl" |
pankso@3111 | 16 BUILD_DEPENDS="perl" |
pankso@3111 | 17 |
pascal@24102 | 18 current_version() |
pascal@24102 | 19 { |
pascal@24102 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 21 sed '/rchive-Zip-/!d;s|.*Zip-||;s| -.*||;q' |
pascal@24102 | 22 } |
pascal@24102 | 23 |
pankso@3111 | 24 # Rules to configure and make the package. |
pankso@3111 | 25 compile_rules() |
pankso@3111 | 26 { |
pankso@3111 | 27 perl Makefile.PL && |
pankso@3111 | 28 make && |
pascal@14702 | 29 make DESTDIR=$DESTDIR install |
pankso@3111 | 30 } |
pankso@3111 | 31 |
pankso@3111 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3111 | 33 genpkg_rules() |
pankso@3111 | 34 { |
pankso@3111 | 35 mkdir -p $fs/usr |
Hans-G?nter@23289 | 36 cp -a $install/usr/lib $fs/usr |
pankso@3111 | 37 } |