wok view perl-xml-parser/receipt @ rev 24245
updated perl-net-server (2.009 -> 2.010)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 07:43:29 2022 +0100 (2022-01-02) |
parents | 8ea372e859d2 |
children | 0af8df0b46fc |
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 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed '/release-name/!d;s|.*-||;s|<.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 perl Makefile.PL &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/lib $fs/usr
39 }