wok view xalan-c/receipt @ rev 21490

trickle: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 01 18:05:32 2019 +0200 (2019-05-01)
parents 4f158dc150af
children 0f28bf6f4a24
line source
1 # SliTaz package receipt.
3 PACKAGE="xalan-c"
4 VERSION="1.10.0-r705082"
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 TARBALL="Xalan-C_r705082-src.tar.gz"
10 WEB_SITE="http://xalan.apache.org/"
11 # Need to use the patched r705082 version on Gentoo's mirrors
12 # Normal WGET_URL would be "http://www.apache.org/dist/xml/$PACKAGE/source/$TARBALL"
13 WGET_URL="http://www.gtlib.gatech.edu/pub/gentoo/distfiles/$TARBALL"
15 DEPENDS="glibc-base gcc-lib-base xerces-c libcurl libcrypto icu"
16 BUILD_DEPENDS="xerces-c-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 mv c/* . && rm -r c
23 sed -i 's/mutable MemoryManager/MemoryManager/' src/xalanc/*/*.hpp
25 export XERCESCROOT=/usr
26 export XALANCROOT=$src
28 ./runConfigure -p linux -c gcc -x g++ -P /usr \
29 -C --build=$HOST_SYSTEM -C --host=$HOST_SYSTEM &&
30 make -j1 &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 }