wok-6.x annotate perl-xml-writer/receipt @ rev 18740
Up slitaz-base-files (290)
author | Lucas Levrel <llevrel@yahoo.fr> |
---|---|
date | Wed Dec 23 22:04:20 2015 +0100 (2015-12-23) |
parents | 4f28ff6c6400 |
children | 6e8b1bcb30e2 |
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" |
pascal@14702 | 8 LICENSE="GPL" |
slaxemulator@9305 | 9 DEPENDS="perl" |
slaxemulator@9305 | 10 BUILD_DEPENDS="perl" |
slaxemulator@9305 | 11 SOURCE="XML-Writer" |
slaxemulator@9305 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@9305 | 13 WEB_SITE="http://search.cpan.org/dist/XML-Writer/" |
slaxemulator@9305 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/J/JO/JOSEPHW/$TARBALL" |
slaxemulator@9305 | 15 |
slaxemulator@9305 | 16 # Rules to configure and make the package. |
slaxemulator@9305 | 17 compile_rules() |
slaxemulator@9305 | 18 { |
slaxemulator@9305 | 19 cd $src |
slaxemulator@9305 | 20 perl Makefile.PL && |
slaxemulator@9305 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
slaxemulator@9305 | 23 } |
slaxemulator@9305 | 24 |
slaxemulator@9305 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9305 | 26 genpkg_rules() |
slaxemulator@9305 | 27 { |
slaxemulator@9305 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
slaxemulator@9305 | 30 } |