wok annotate perl-log-agent/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents 15650f5d595b
children b27d8c263cba
rev   line source
sygne@1683 1 # SliTaz package receipt.
sygne@1683 2
sygne@1683 3 PACKAGE="perl-log-agent"
Hans-G?nter@24234 4 VERSION="1.005"
sygne@1683 5 CATEGORY="development"
Hans-G?nter@23363 6 SHORT_DESC="Perl extension Log::Agent."
sygne@1683 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14702 8 LICENSE="GPL"
Hans-G?nter@24234 9 WEB_SITE="https://metacpan.org/pod/Log::Agent"
Hans-G?nter@24234 10 REPOLOGY="perl:log-agent"
Hans-G?nter@23363 11
Hans-G?nter@23363 12 SOURCE="Log-Agent"
Hans-G?nter@23363 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23363 14 WGET_URL="https://www.cpan.org/modules/by-module/Log/$TARBALL"
Hans-G?nter@23363 15
sygne@1683 16 DEPENDS="perl"
sygne@1683 17 BUILD_DEPENDS="perl"
sygne@1683 18
pascal@24102 19 current_version()
pascal@24102 20 {
pascal@24102 21 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24102 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24102 23 }
pascal@24102 24
sygne@1683 25 # Rules to configure and make the package.
sygne@1683 26 compile_rules()
sygne@1683 27 {
sygne@1683 28 perl Makefile.PL &&
sygne@1683 29 make &&
Hans-G?nter@24234 30 make install DESTDIR=$DESTDIR
sygne@1683 31 }
sygne@1683 32
sygne@1683 33 # Rules to gen a SliTaz package suitable for Tazpkg.
sygne@1683 34 genpkg_rules()
sygne@1683 35 {
Hans-G?nter@24234 36 cook_copy_folders lib
sygne@1683 37 }