wok-next annotate perl-xml-twig/receipt @ rev 11027

Up: py3k to 3.2.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 16 07:08:02 2011 +0000 (2011-10-16)
parents
children 2d12ebd38be4
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"
slaxemulator@9301 8 DEPENDS="perl perl-xml-parser"
slaxemulator@9301 9 BUILD_DEPENDS="perl perl-xml-parser"
slaxemulator@9301 10 SOURCE="XML-Twig"
slaxemulator@9301 11 TARBALL="$SOURCE-$VERSION.tar.gz"
slaxemulator@9301 12 WEB_SITE="http://search.cpan.org/dist/XML-Twig/"
slaxemulator@9301 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/M/MI/MIROD/$TARBALL"
slaxemulator@9301 14
slaxemulator@9301 15 # Rules to configure and make the package.
slaxemulator@9301 16 compile_rules()
slaxemulator@9301 17 {
slaxemulator@9301 18 cd $src
slaxemulator@9301 19 perl Makefile.PL -y &&
slaxemulator@9301 20 make &&
slaxemulator@9301 21 make DESTDIR=$PWD/_pkg install
slaxemulator@9301 22 }
slaxemulator@9301 23
slaxemulator@9301 24 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@9301 25 genpkg_rules()
slaxemulator@9301 26 {
slaxemulator@9301 27 mkdir -p $fs/usr
slaxemulator@9301 28 cp -a $_pkg/usr/lib $fs/usr
slaxemulator@9301 29 }
slaxemulator@9301 30