wok annotate perl-xml-writer/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | 15650f5d595b |
children | b27d8c263cba |
rev | line source |
---|---|
slaxemulator@9305 | 1 # SliTaz package receipt. |
slaxemulator@9305 | 2 |
slaxemulator@9305 | 3 PACKAGE="perl-xml-writer" |
Hans-G?nter@24270 | 4 VERSION="0.900" |
slaxemulator@9305 | 5 CATEGORY="development" |
Hans-G?nter@23419 | 6 SHORT_DESC="Perl extension XML::Writer." |
slaxemulator@9305 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24270 | 9 WEB_SITE="https://metacpan.org/pod/XML::Writer" |
Hans-G?nter@24270 | 10 REPOLOGY="perl:xml-writer" |
Hans-G?nter@23419 | 11 |
Hans-G?nter@23419 | 12 SOURCE="XML-Writer" |
Hans-G?nter@23419 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23419 | 14 WGET_URL="https://www.cpan.org/modules/by-module/XML/$TARBALL" |
Hans-G?nter@23419 | 15 |
slaxemulator@9305 | 16 DEPENDS="perl" |
slaxemulator@9305 | 17 BUILD_DEPENDS="perl" |
slaxemulator@9305 | 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|.*-||;s|<.*||;q' |
pascal@24102 | 23 } |
pascal@24102 | 24 |
slaxemulator@9305 | 25 # Rules to configure and make the package. |
slaxemulator@9305 | 26 compile_rules() |
slaxemulator@9305 | 27 { |
slaxemulator@9305 | 28 perl Makefile.PL && |
slaxemulator@9305 | 29 make && |
pascal@14702 | 30 make DESTDIR=$DESTDIR install |
slaxemulator@9305 | 31 } |
slaxemulator@9305 | 32 |
slaxemulator@9305 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9305 | 34 genpkg_rules() |
slaxemulator@9305 | 35 { |
Hans-G?nter@24270 | 36 cook_copy_folders lib |
slaxemulator@9305 | 37 } |