wok-current view perl-xml-parser/receipt @ rev 24056
Up zstd (1.5.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 08 09:29:15 2021 +0000 (2021-06-08) |
parents | 20661c276bcf |
children | 15650f5d595b |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-xml-parser"
4 VERSION="2.46"
5 CATEGORY="development"
6 SHORT_DESC="Perl extension XML::Parser is an interface to XML expat."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/XML-Parser/"
11 SOURCE="XML-Parser"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://www.cpan.org/modules/by-module/XML/$TARBALL"
15 DEPENDS="expat perl"
16 BUILD_DEPENDS="expat-dev perl"
18 HOST_ARCH="i486 arm"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 perl Makefile.PL &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 }