wok-next view perl-xml-sax-base/receipt @ rev 20461

Respect "install" phase (src -> install). Cook will fail if install dir empty (and it's by design).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Mar 04 04:56:40 2018 +0200 (2018-03-04)
parents
children 4e6503d7a19f
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-xml-sax-base"
4 VERSION="1.09"
5 CATEGORY="perl"
6 SHORT_DESC="XML::SAX::Base - Base class SAX Drivers and Filters"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/XML-SAX-Base"
11 TARBALL="XML-SAX-Base-$VERSION.tar.gz"
12 WGET_URL="https://cpan.metacpan.org/authors/id/G/GR/GRANTM/$TARBALL"
14 DEPENDS="perl"
15 BUILD_DEPENDS="perl"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 perl Makefile.PL &&
21 make && make DESTDIR=$install install &&
23 chmod -R u+w $install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 copy @std
30 }