wok-current annotate perl-xml-twig/receipt @ rev 21615
Up opencv (3.4.6)
author | maniac |
---|---|
date | Thu May 23 22:07:21 2019 +0300 (2019-05-23) |
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 |