wok-next view xalan-c/receipt @ rev 15013
Up nscd (2.14.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 11 13:54:55 2013 +0000 (2013-08-11) |
parents | 6515656d7476 |
children | eb8067417980 |
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 TARBALL="Xalan-C_r705082-src.tar.gz"
9 WEB_SITE="http://xalan.apache.org/"
10 # Need to use the patched r705082 version on Gentoo's mirrors
11 # Normal WGET_URL would be "http://www.apache.org/dist/xml/$PACKAGE/source/$TARBALL"
12 WGET_URL="http://www.gtlib.gatech.edu/pub/gentoo/distfiles/$TARBALL"
14 DEPENDS="glibc-base gcc-lib-base xerces-c libcurl libcrypto icu"
15 BUILD_DEPENDS="xerces-c-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 mv c/* . && rm -r c
22 sed -i 's/mutable MemoryManager/MemoryManager/' src/xalanc/*/*.hpp
24 export XERCESCROOT=/usr
25 export XALANCROOT=$src
27 ./runConfigure -p linux -c gcc -x g++ -P /usr \
28 -C --build=$HOST_SYSTEM -C --host=$HOST_SYSTEM &&
29 make -j1 &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 cp -a $_pkg/usr/bin $fs/usr
40 }