wok view perl-xml-parser/receipt @ rev 25811
Up rsync (3.4.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 17 16:05:26 2025 +0000 (5 months ago) |
parents | 15650f5d595b |
children |
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/dist/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 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed '/release-name/!d;s|.*-||;s|<.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 perl Makefile.PL &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/lib $fs/usr
40 }