wok-next annotate perl-xml-sax/receipt @ rev 20113

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