wok-6.x annotate perl-xml-rss/receipt @ rev 24861

updated logrotate (3.16.0 -> 3.19.0)
author Hans-G?nter Theisgen
date Tue Mar 29 17:26:39 2022 +0100 (2022-03-29)
parents 15650f5d595b
children
rev   line source
pascal@9281 1 # SliTaz package receipt.
pascal@9281 2
pascal@9281 3 PACKAGE="perl-xml-rss"
Hans-G?nter@24269 4 VERSION="1.62"
pascal@9281 5 CATEGORY="development"
Hans-G?nter@23415 6 SHORT_DESC="Perl extension XML::RSS."
pascal@9281 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14702 8 LICENSE="GPL"
Hans-G?nter@24269 9 WEB_SITE="https://metacpan.org/pod/XML::RSS"
Hans-G?nter@24269 10 REPOLOGY="perl:xml-rss"
Hans-G?nter@23415 11
pascal@9281 12 SOURCE="XML-RSS"
pascal@9281 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23415 14 WGET_URL="https://www.cpan.org/modules/by-module/XML/$TARBALL"
Hans-G?nter@23415 15
Hans-G?nter@24269 16 DEPENDS="perl perl-datetime perl-datetime-format-mail perl-datetime-format-w3cdtf
Hans-G?nter@24269 17 perl-xml-parser "
Hans-G?nter@23415 18 BUILD_DEPENDS="$DEPENDS"
pascal@9281 19
pascal@24102 20 current_version()
pascal@24102 21 {
pascal@24102 22 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24102 23 sed '/release-name/!d;s|.*-||;s|<.*||;q'
pascal@24102 24 }
pascal@24102 25
pascal@9281 26 # Rules to configure and make the package.
pascal@9281 27 compile_rules()
pascal@9281 28 {
pascal@9281 29 perl Makefile.PL &&
pascal@9281 30 make &&
Hans-G?nter@24269 31 make install DESTDIR=$DESTDIR
pascal@9281 32 }
pascal@9281 33
pascal@9281 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@9281 35 genpkg_rules()
pascal@9281 36 {
Hans-G?nter@24269 37 cook_copy_folders lib
pascal@9281 38 }