wok-current annotate perl-log-log4perl/receipt @ rev 25554

Up fakeroot (1.31)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 12 20:31:24 2023 +0000 (20 months ago)
parents 53660c632117
children
rev   line source
pascal@20417 1 # SliTaz package receipt.
pascal@20417 2
pascal@20417 3 PACKAGE="perl-log-log4perl"
pascal@25181 4 VERSION="1.55"
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"
pascal@25181 13 WGET_URL="https://cpan.metacpan.org/authors/id/E/ET/ETJ/$TARBALL"
pascal@20417 14 DEPENDS="perl"
pascal@20417 15 BUILD_DEPENDS="perl"
pascal@20417 16
pascal@25181 17 # What is the latest version available today?
pascal@24102 18 current_version()
pascal@24102 19 {
pascal@24102 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24102 21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24102 22 }
pascal@24102 23
pascal@20417 24 # Rules to configure and make the package.
pascal@20417 25 compile_rules()
pascal@20417 26 {
pascal@20417 27 perl Makefile.PL &&
pascal@20417 28 make &&
Hans-G?nter@24235 29 make install DESTDIR=$DESTDIR
pascal@20417 30 }
pascal@20417 31
pascal@20417 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20417 33 genpkg_rules()
pascal@20417 34 {
Hans-G?nter@24235 35 cook_copy_folders lib
pascal@20417 36 }