wok-current annotate xalan-c/receipt @ rev 3472

Add: xalan-c, an XSLT processor
author Matthew Sheets <rcx@zoominternet.net>
date Tue Jun 16 14:58:16 2009 +0000 (2009-06-16)
parents
children 413b0174114a
rev   line source
rcx@3472 1 # SliTaz package receipt.
rcx@3472 2
rcx@3472 3 PACKAGE="xalan-c"
rcx@3472 4 VERSION="1.10.0-r705082"
rcx@3472 5 CATEGORY="development"
rcx@3472 6 SHORT_DESC="An XSLT processor for transforming XML documents into HTML, text, or other XML document types."
rcx@3472 7 MAINTAINER="rcx@zoominternet.net"
rcx@3472 8 DEPENDS="glibc-base gcc-lib-base xerces-c"
rcx@3472 9 BUILD_DEPENDS="slitaz-toolchain xerces-c xerces-c-dev"
rcx@3472 10 TARBALL="Xalan-C_r705082-src.tar.gz"
rcx@3472 11 WEB_SITE="http://xalan.apache.org/"
rcx@3472 12 # Need to use the patched r705082 version on Gentoo's mirrors
rcx@3472 13 # Normal WGET_URL would be "http://www.apache.org/dist/xml/$PACKAGE/source/$TARBALL"
rcx@3472 14 WGET_URL="http://www.gtlib.gatech.edu/pub/gentoo/distfiles/$TARBALL"
rcx@3472 15
rcx@3472 16 # Rules to configure and make the package.
rcx@3472 17 compile_rules()
rcx@3472 18 {
rcx@3472 19 # Determine if BUILD_HOST has been defined in tazwok.conf as it should
rcx@3472 20 if [ -z "$BUILD_HOST" ] ; then
rcx@3472 21 # Provide a default TOOLPREFIX value
rcx@3472 22 BUILD_HOST=i486-pc-linux-gnu
rcx@3472 23 fi
rcx@3472 24
rcx@3472 25 mv xml-xalan/c $src
rcx@3472 26 rm -r xml-xalan
rcx@3472 27
rcx@3472 28 cd $src
rcx@3472 29
rcx@3472 30 export XERCESCROOT=/usr
rcx@3472 31 export XALANCROOT=$src
rcx@3472 32
rcx@3472 33 ./runConfigure -p linux -c gcc -x g++ -P /usr \
rcx@3472 34 -C --build=$BUILD_HOST -C --host=$BUILD_HOST &&
rcx@3472 35 make &&
rcx@3472 36 make DESTDIR=$src/_pkg install
rcx@3472 37 }
rcx@3472 38
rcx@3472 39 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3472 40 genpkg_rules()
rcx@3472 41 {
rcx@3472 42 mkdir -p $fs/usr/lib
rcx@3472 43 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
rcx@3472 44
rcx@3472 45 cp -a $_pkg/usr/bin $fs/usr
rcx@3472 46 }