wok-6.x view xalan-c/receipt @ rev 25294

updated screen, screen-pam and screen-terminfo (4.8.0 -> 4.9.0)
author Hans-G?nter Theisgen
date Tue Jul 19 17:34:06 2022 +0100 (2022-07-19)
parents 535c806240cc
children 272cacdf0c0a
line source
1 # SliTaz package receipt.
3 PACKAGE="xalan-c"
4 VERSION="1.11"
5 CATEGORY="development"
6 SHORT_DESC="An XSLT processor for transforming XML documents into HTML, text, or other XML document types."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="Apache"
9 WEB_SITE="https://xalan.apache.org/"
11 TARBALL="${PACKAGE/-/_}-$VERSION-src.tar.gz"
12 WGET_URL="http://archive.apache.org/dist/xalan/$PACKAGE/sources/$TARBALL"
14 DEPENDS="gcc-lib-base glibc-base icu libcrypto libcurl xerces-c"
15 BUILD_DEPENDS="xerces-c-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed "/latest/d;/xalan_c-[0-9]/!d;/tar/!d;s|.*xalan_c-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mv c/* . && rm -r c
28 sed -i 's|mutable MemoryManager|MemoryManager|' \
29 src/xalanc/*/*.hpp
31 export XERCESCROOT=/usr
32 export XALANCROOT=$src
34 ./runConfigure \
35 -p linux \
36 -c gcc \
37 -x g++ \
38 -P /usr \
39 -C --build=$HOST_SYSTEM \
40 -C --host=$HOST_SYSTEM &&
41 make -j1 &&
42 make install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/lib
50 cp -a $install/usr/lib/*.so* $fs/usr/lib
51 cp -a $install/usr/bin $fs/usr
52 }