wok-next view perl-xml-sax/receipt @ rev 20146
Up qemu-light (2.0.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 11:50:08 2017 +0100 (2017-11-01) |
parents | 1a86cb99cbbf |
children | 93930f418ffb |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="perl-xml-sax"
4 VERSION="0.99"
5 CATEGORY="perl"
6 SHORT_DESC="XML::SAX - Simple API for XML"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/XML-SAX"
11 TARBALL="XML-SAX-$VERSION.tar.gz"
12 WGET_URL="https://cpan.metacpan.org/authors/id/G/GR/GRANTM/$TARBALL"
14 BUILD_DEPENDS="perl-xml-namespacesupport perl-xml-sax-base"
16 compile_rules() {
17 # Please keep `make -j1 install` to FS before installing to the DESTDIR
18 perl Makefile.PL &&
19 make -j1 install &&
20 make -j1 DESTDIR=$install install || return 1
22 chmod -R u+w $install
23 cp -v /usr/lib/perl5/site_perl/5.24.1/XML/SAX/ParserDetails.ini \
24 $install/usr/lib/perl5/site_perl/5.24.1/XML/SAX/
25 }
27 genpkg_rules() {
28 copy @std
29 DEPENDS="$BUILD_DEPENDS"
30 }