wok view xalan-c/receipt @ rev 4692
Up: strace (4.5.19)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Jan 02 09:58:53 2010 +0100 (2010-01-02) |
parents | |
children | 413b0174114a |
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 DEPENDS="glibc-base gcc-lib-base xerces-c"
9 BUILD_DEPENDS="slitaz-toolchain xerces-c xerces-c-dev"
10 TARBALL="Xalan-C_r705082-src.tar.gz"
11 WEB_SITE="http://xalan.apache.org/"
12 # Need to use the patched r705082 version on Gentoo's mirrors
13 # Normal WGET_URL would be "http://www.apache.org/dist/xml/$PACKAGE/source/$TARBALL"
14 WGET_URL="http://www.gtlib.gatech.edu/pub/gentoo/distfiles/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # Determine if BUILD_HOST has been defined in tazwok.conf as it should
20 if [ -z "$BUILD_HOST" ] ; then
21 # Provide a default TOOLPREFIX value
22 BUILD_HOST=i486-pc-linux-gnu
23 fi
25 mv xml-xalan/c $src
26 rm -r xml-xalan
28 cd $src
30 export XERCESCROOT=/usr
31 export XALANCROOT=$src
33 ./runConfigure -p linux -c gcc -x g++ -P /usr \
34 -C --build=$BUILD_HOST -C --host=$BUILD_HOST &&
35 make &&
36 make DESTDIR=$src/_pkg install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
45 cp -a $_pkg/usr/bin $fs/usr
46 }