wok annotate perl-log-log4perl/receipt @ rev 24362
aspell: apply patch CVE-2019-25051
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 04 15:05:05 2022 +0100 (2022-02-04) |
parents | 15650f5d595b |
children | cd6fc250348b |
rev | line source |
---|---|
pascal@20417 | 1 # SliTaz package receipt. |
pascal@20417 | 2 |
pascal@20417 | 3 PACKAGE="perl-log-log4perl" |
Hans-G?nter@24235 | 4 VERSION="1.54" |
pascal@20417 | 5 CATEGORY="development" |
al@20422 | 6 SHORT_DESC="Log::Log4perl module is a Perl extension." |
pascal@20417 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
Hans-G?nter@24235 | 8 LICENSE="GPL" |
Hans-G?nter@24235 | 9 WEB_SITE="https://metacpan.org/pod/Log::Log4perl" |
Hans-G?nter@24235 | 10 REPOLOGY="perl:log-log4perl" |
Hans-G?nter@24235 | 11 SOURCE="Log-Log4perl" |
Hans-G?nter@24235 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@24235 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Log/$TARBALL" |
pascal@20417 | 14 DEPENDS="perl" |
pascal@20417 | 15 BUILD_DEPENDS="perl" |
pascal@20417 | 16 |
pascal@24102 | 17 current_version() |
pascal@24102 | 18 { |
pascal@24102 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 20 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 21 } |
pascal@24102 | 22 |
pascal@20417 | 23 # Rules to configure and make the package. |
pascal@20417 | 24 compile_rules() |
pascal@20417 | 25 { |
pascal@20417 | 26 perl Makefile.PL && |
pascal@20417 | 27 make && |
Hans-G?nter@24235 | 28 make install DESTDIR=$DESTDIR |
pascal@20417 | 29 } |
pascal@20417 | 30 |
pascal@20417 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20417 | 32 genpkg_rules() |
pascal@20417 | 33 { |
Hans-G?nter@24235 | 34 cook_copy_folders lib |
pascal@20417 | 35 } |