wok-next view xalan-c/receipt @ rev 20435
Up rsync (3.1.3)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 21 18:10:55 2018 +0200 (2018-02-21) |
parents | eb8067417980 |
children | e6615350078d |
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 mv c/* . && rm -r c
22 sed -i 's/isnan/std::&/' src/xalanc/PlatformSupport/DoubleSupport.hpp
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 }