wok annotate perl-xml-twig/receipt @ rev 22539
updated bird (2.0.3 -> 2.0.7)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 03 16:08:36 2020 +0100 (2020-01-03) |
parents | 6e8b1bcb30e2 |
children | 04e71ae29a9d |
rev | line source |
---|---|
slaxemulator@9301 | 1 # SliTaz package receipt. |
slaxemulator@9301 | 2 |
slaxemulator@9301 | 3 PACKAGE="perl-xml-twig" |
slaxemulator@9301 | 4 VERSION="3.34" |
slaxemulator@9301 | 5 CATEGORY="development" |
slaxemulator@9301 | 6 SHORT_DESC="XML::Twig module is a Perl extension." |
slaxemulator@9301 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
slaxemulator@9301 | 9 DEPENDS="perl perl-xml-parser" |
slaxemulator@9301 | 10 BUILD_DEPENDS="perl perl-xml-parser" |
slaxemulator@9301 | 11 SOURCE="XML-Twig" |
slaxemulator@9301 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20671 | 13 WEB_SITE="https://metacpan.org/release/XML-Twig/" |
pascal@20682 | 14 WGET_URL="https://metacpan.org/CPAN/authors/id/M/MI/MIROD/$TARBALL" |
slaxemulator@9301 | 15 |
slaxemulator@9301 | 16 # Rules to configure and make the package. |
slaxemulator@9301 | 17 compile_rules() |
slaxemulator@9301 | 18 { |
slaxemulator@9301 | 19 cd $src |
slaxemulator@9301 | 20 perl Makefile.PL -y && |
slaxemulator@9301 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
slaxemulator@9301 | 23 } |
slaxemulator@9301 | 24 |
slaxemulator@9301 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9301 | 26 genpkg_rules() |
slaxemulator@9301 | 27 { |
slaxemulator@9301 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
slaxemulator@9301 | 30 } |
slaxemulator@9301 | 31 |