wok annotate perl-xml-twig/receipt @ rev 25039
Up aspell-pl (6.0_20210731-0), icmptx (20190501)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 26 14:53:15 2022 +0000 (2022-05-26) |
parents | 04e71ae29a9d |
children | 0af8df0b46fc |
rev | line source |
---|---|
slaxemulator@9301 | 1 # SliTaz package receipt. |
slaxemulator@9301 | 2 |
slaxemulator@9301 | 3 PACKAGE="perl-xml-twig" |
Hans-G?nter@23418 | 4 VERSION="3.52" |
slaxemulator@9301 | 5 CATEGORY="development" |
Hans-G?nter@23418 | 6 SHORT_DESC="Perl extension XML::Twig." |
slaxemulator@9301 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23418 | 9 WEB_SITE="https://metacpan.org/release/XML-Twig/" |
Hans-G?nter@23418 | 10 |
Hans-G?nter@23418 | 11 SOURCE="XML-Twig" |
Hans-G?nter@23418 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23418 | 13 WGET_URL="https://www.cpan.org/modules/by-module/XML/$TARBALL" |
Hans-G?nter@23418 | 14 |
slaxemulator@9301 | 15 DEPENDS="perl perl-xml-parser" |
slaxemulator@9301 | 16 BUILD_DEPENDS="perl perl-xml-parser" |
slaxemulator@9301 | 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 |
slaxemulator@9301 | 24 # Rules to configure and make the package. |
slaxemulator@9301 | 25 compile_rules() |
slaxemulator@9301 | 26 { |
slaxemulator@9301 | 27 perl Makefile.PL -y && |
slaxemulator@9301 | 28 make && |
pascal@14702 | 29 make DESTDIR=$DESTDIR install |
slaxemulator@9301 | 30 } |
slaxemulator@9301 | 31 |
slaxemulator@9301 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9301 | 33 genpkg_rules() |
slaxemulator@9301 | 34 { |
slaxemulator@9301 | 35 mkdir -p $fs/usr |
Hans-G?nter@23418 | 36 cp -a $install/usr/lib $fs/usr |
slaxemulator@9301 | 37 } |