wok annotate perl-xml-writer/receipt @ rev 14605
Up: youtube-dl to 2013.05.23.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 31 19:59:16 2013 +0000 (2013-05-31) |
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 } |