wok-6.x annotate perl-xml-sax-writer/receipt @ rev 16831
Add system-tools-backends, liboobs.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jul 12 14:33:02 2014 +0300 (2014-07-12) |
parents | d38ad8b2c6a5 |
children | 20661c276bcf |
rev | line source |
---|---|
pascal@1670 | 1 # SliTaz package receipt. |
pascal@1670 | 2 |
pascal@1670 | 3 PACKAGE="perl-xml-sax-writer" |
pascal@1670 | 4 VERSION="0.50" |
pascal@1670 | 5 CATEGORY="development" |
pascal@1670 | 6 SHORT_DESC="XML::SAX::Writer module is a Perl extension." |
pascal@1670 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@1670 | 9 DEPENDS="perl" |
pascal@1670 | 10 BUILD_DEPENDS="perl" |
pascal@1670 | 11 SOURCE="XML-SAX-Writer" |
pascal@1670 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1743 | 13 WEB_SITE="http://cpan.org/" |
pascal@1670 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DA/DAHUT/$TARBALL" |
pascal@1670 | 15 |
pascal@1670 | 16 # Rules to configure and make the package. |
pascal@1670 | 17 compile_rules() |
pascal@1670 | 18 { |
pascal@1670 | 19 cd $src |
pascal@1670 | 20 perl Makefile.PL && |
pascal@1670 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pascal@1670 | 23 } |
pascal@1670 | 24 |
pascal@1670 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1670 | 26 genpkg_rules() |
pascal@1670 | 27 { |
pascal@1670 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@1670 | 30 } |
pascal@1670 | 31 |