wok annotate perl-xml-sax-writer/receipt @ rev 24884
corrected recipe for loudmouth
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 01 07:42:28 2022 +0100 (2022-04-01) |
parents | 50baa766647d |
children | 0af8df0b46fc |
rev | line source |
---|---|
pascal@1670 | 1 # SliTaz package receipt. |
pascal@1670 | 2 |
pascal@1670 | 3 PACKAGE="perl-xml-sax-writer" |
Hans-G?nter@23416 | 4 VERSION="0.57" |
pascal@1670 | 5 CATEGORY="development" |
Hans-G?nter@23416 | 6 SHORT_DESC="Perl extension XML::SAX::Writer." |
pascal@1670 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23416 | 9 WEB_SITE="https://metacpan.org/release/XML-SAX-Writer" |
Hans-G?nter@23416 | 10 |
Hans-G?nter@23416 | 11 SOURCE="XML-SAX-Writer" |
Hans-G?nter@23416 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23416 | 13 WGET_URL="https://www.cpan.org/modules/by-module/XML/$TARBALL" |
Hans-G?nter@23416 | 14 |
pascal@1670 | 15 DEPENDS="perl" |
pascal@1670 | 16 BUILD_DEPENDS="perl" |
pascal@1670 | 17 |
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|.*-||;s|<.*||;q' |
pascal@24102 | 22 } |
pascal@24102 | 23 |
pascal@1670 | 24 # Rules to configure and make the package. |
pascal@1670 | 25 compile_rules() |
pascal@1670 | 26 { |
pascal@1670 | 27 perl Makefile.PL && |
pascal@1670 | 28 make && |
pascal@14702 | 29 make DESTDIR=$DESTDIR install |
pascal@1670 | 30 } |
pascal@1670 | 31 |
pascal@1670 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1670 | 33 genpkg_rules() |
pascal@1670 | 34 { |
pascal@1670 | 35 mkdir -p $fs/usr |
Hans-G?nter@23416 | 36 cp -a $install/usr/lib $fs/usr |
pascal@1670 | 37 } |