wok-next view perl-xml-sax/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | 44d2daaccb67 |
children | f17e1f86f546 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="perl-xml-sax"
4 VERSION="1.00"
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"
10 REPOLOGY="perl:xml-sax"
12 TARBALL="XML-SAX-$VERSION.tar.gz"
13 WGET_URL="https://cpan.metacpan.org/authors/id/G/GR/GRANTM/$TARBALL"
15 BUILD_DEPENDS="perl-xml-namespacesupport perl-xml-sax-base"
17 compile_rules() {
18 # Please keep `make -j1 install` to FS before installing to the DESTDIR
19 perl Makefile.PL &&
20 make -j1 install &&
21 make -j1 DESTDIR=$install install || return 1
23 chmod -R u+w $install
24 # cp -v /usr/lib/perl5/site_perl/5.24.1/XML/SAX/ParserDetails.ini \
25 # $install/usr/lib/perl5/site_perl/5.24.1/XML/SAX/
26 }
28 genpkg_rules() {
29 copy @std
30 DEPENDS="$BUILD_DEPENDS"
31 }