wok view xerces-c/receipt @ rev 24972

Up lzsa (1.3.11)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 01 08:42:44 2022 +0000 (2022-05-01)
parents 535c806240cc
children ed5f25d05ff6
line source
1 # SliTaz package receipt.
3 PACKAGE="xerces-c"
4 VERSION="3.2.3"
5 CATEGORY="development"
6 SHORT_DESC="A validating XML parser written in a portable subset of C++."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="Apache"
9 WEB_SITE="https://xerces.apache.org/xerces-c/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://apache.org/dist/xerces/c/${VERSION%%.*}/sources/$TARBALL"
14 DEPENDS="gcc-lib-base glibc-base icu libcrypto libcurl"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/available/!d;s|.*sion ||;s| is .*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS &&
27 make $MAKEFLAGS &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/bin $fs/usr
38 }