wok-current view xerces-c/receipt @ rev 25351
updated tesseract and tesseract-dev (3.02.02 -> 5.2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jul 26 13:57:27 2022 +0100 (2022-07-26) |
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 }