wok-current annotate perl-xml-twig/receipt @ rev 17352
Up: openssl (1.0.1j)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Nov 15 23:41:30 2014 +0000 (2014-11-15) |
parents | 296b864e1435 |
children | 6e8b1bcb30e2 |
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" |
slaxemulator@9301 | 13 WEB_SITE="http://search.cpan.org/dist/XML-Twig/" |
slaxemulator@9301 | 14 WGET_URL="http://search.cpan.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 |