wok-current annotate perl-xml-sax-writer/receipt @ rev 22017
xcircuit: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 19 18:20:40 2019 +0200 (2019-10-19) |
parents | 2d12ebd38be4 |
children | 50baa766647d |
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@20682 | 14 WGET_URL="https://metacpan.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 |