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