wok-6.x view xalan-c/receipt @ rev 6791
Added linux-module-headers to lirc build depends. Doesn't need linux-source package anymore to compile.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 18 17:36:33 2010 +0000 (2010-10-18) |
parents | 410630f6493d |
children | 5bebc54eaff7 |
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 libcurl libcrypto icu"
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 -j 4 &&
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 }