wok-next view perl-xml-parser/receipt @ rev 19769
Update Perl XS modules that need perl-dev to build (unlike Pure Perl), rebuild all module packages as Perl version change.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 14 09:51:23 2017 +0300 (2017-06-14) |
parents | 3215a72d127e |
children | bc6672455954 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="perl-xml-parser"
4 VERSION="2.44"
5 CATEGORY="perl"
6 SHORT_DESC="XML::Parser - A Perl module for parsing XML documents"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/XML-Parser"
10 HOST_ARCH="i486 arm"
12 TARBALL="XML-Parser-$VERSION.tar.gz"
13 WGET_URL="https://cpan.metacpan.org/authors/id/T/TO/TODDR/$TARBALL"
15 BUILD_DEPENDS="perl-dev perl-libwww-perl expat-dev"
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 DEPENDS="perl-libwww-perl expat"
31 }