wok-current annotate perl-xml-writer/receipt @ rev 13207
Up collectd (5.1.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 06 15:08:32 2012 +0200 (2012-08-06) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
slaxemulator@9305 | 1 # SliTaz package receipt. |
slaxemulator@9305 | 2 |
slaxemulator@9305 | 3 PACKAGE="perl-xml-writer" |
slaxemulator@9305 | 4 VERSION="0.612" |
slaxemulator@9305 | 5 CATEGORY="development" |
slaxemulator@9305 | 6 SHORT_DESC="XML::Writer module is a Perl extension." |
slaxemulator@9305 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@9305 | 8 DEPENDS="perl" |
slaxemulator@9305 | 9 BUILD_DEPENDS="perl" |
slaxemulator@9305 | 10 SOURCE="XML-Writer" |
slaxemulator@9305 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@9305 | 12 WEB_SITE="http://search.cpan.org/dist/XML-Writer/" |
slaxemulator@9305 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/J/JO/JOSEPHW/$TARBALL" |
slaxemulator@9305 | 14 |
slaxemulator@9305 | 15 # Rules to configure and make the package. |
slaxemulator@9305 | 16 compile_rules() |
slaxemulator@9305 | 17 { |
slaxemulator@9305 | 18 cd $src |
slaxemulator@9305 | 19 perl Makefile.PL && |
slaxemulator@9305 | 20 make && |
slaxemulator@9305 | 21 make DESTDIR=$PWD/_pkg install |
slaxemulator@9305 | 22 } |
slaxemulator@9305 | 23 |
slaxemulator@9305 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9305 | 25 genpkg_rules() |
slaxemulator@9305 | 26 { |
slaxemulator@9305 | 27 mkdir -p $fs/usr |
slaxemulator@9305 | 28 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@9305 | 29 } |