wok-current annotate perl-xml-twig/receipt @ rev 23702
Up tazlito (525)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 28 07:57:17 2020 +0000 (2020-04-28) |
parents | 20661c276bcf |
children | 15650f5d595b |
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 |
slaxemulator@9301 | 18 # Rules to configure and make the package. |
slaxemulator@9301 | 19 compile_rules() |
slaxemulator@9301 | 20 { |
slaxemulator@9301 | 21 perl Makefile.PL -y && |
slaxemulator@9301 | 22 make && |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
slaxemulator@9301 | 24 } |
slaxemulator@9301 | 25 |
slaxemulator@9301 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9301 | 27 genpkg_rules() |
slaxemulator@9301 | 28 { |
slaxemulator@9301 | 29 mkdir -p $fs/usr |
Hans-G?nter@23418 | 30 cp -a $install/usr/lib $fs/usr |
slaxemulator@9301 | 31 } |