wok-6.x annotate perl-xml-sax-writer/receipt @ rev 11948
Change busybox httpd desktop file
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 01 12:10:25 2012 +0100 (2012-03-01) |
parents | 4ae24867d68b |
children | 2d12ebd38be4 |
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@1670 | 8 DEPENDS="perl" |
pascal@1670 | 9 BUILD_DEPENDS="perl" |
pascal@1670 | 10 SOURCE="XML-SAX-Writer" |
pascal@1670 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1743 | 12 WEB_SITE="http://cpan.org/" |
pascal@1670 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DA/DAHUT/$TARBALL" |
pascal@1670 | 14 |
pascal@1670 | 15 # Rules to configure and make the package. |
pascal@1670 | 16 compile_rules() |
pascal@1670 | 17 { |
pascal@1670 | 18 cd $src |
pascal@1670 | 19 perl Makefile.PL && |
pascal@1670 | 20 make && |
pascal@1670 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1670 | 22 } |
pascal@1670 | 23 |
pascal@1670 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1670 | 25 genpkg_rules() |
pascal@1670 | 26 { |
pascal@1670 | 27 mkdir -p $fs/usr |
pascal@1670 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1670 | 29 } |
pascal@1670 | 30 |