wok-next view xalan-c/receipt @ rev 20585
Up cppunit (1.14.0)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 11:20:34 2018 +0300 (2018-04-14) |
parents | e323d0535e2c |
children | e9b3d0cd4c89 |
line source
1 # SliTaz package receipt v2.
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, \
7 or other XML document types"
8 MAINTAINER="rcx@zoominternet.net"
9 LICENSE="Apache"
10 WEB_SITE="http://xalan.apache.org/"
12 TARBALL="Xalan-C_r705082-src.tar.gz"
13 # Need to use the patched r705082 version on Gentoo's mirrors
14 # Normal WGET_URL would be "http://www.apache.org/dist/xml/$PACKAGE/source/$TARBALL"
15 WGET_URL="http://www.gtlib.gatech.edu/pub/gentoo/distfiles/$TARBALL"
17 BUILD_DEPENDS="xerces-c-dev"
18 SPLIT="xalan-c-dev"
20 compile_rules() {
21 fix math
22 mv c/* . && rm -r c
23 sed -i 's/isnan/std::&/' src/xalanc/PlatformSupport/DoubleSupport.hpp
24 sed -i 's/mutable MemoryManager/MemoryManager/' src/xalanc/*/*.hpp
26 export XERCESCROOT=/usr
27 export XALANCROOT=$src
29 ./runConfigure \
30 -p linux \
31 -c gcc \
32 -x g++ \
33 -P /usr \
34 -C --build=$HOST_SYSTEM \
35 -C --host=$HOST_SYSTEM &&
36 make -j1 &&
37 make install
38 }
40 genpkg_rules() {
41 case $PACKAGE in
42 xalan-c)
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 cp -a $install/usr/bin $fs/usr
46 DEPENDS="glibc-base gcc-lib-base xerces-c libcurl openssl icu"
47 ;;
48 *-dev)
49 mkdir -p $fs/usr
50 cp -a $install/usr/include $fs/usr
51 ;;
52 esac
53 }