wok 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 | a821168447a7 |
children | 65527a53933e |
files | xalan-c-dev/receipt xalan-c/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xalan-c-dev/receipt Tue Jun 16 14:58:16 2009 +0000 1.3 @@ -0,0 +1,16 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="xalan-c-dev" 1.7 +VERSION="1.10.0-r705082" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="xalan-c devel files." 1.10 +WEB_SITE="http://xalan.apache.org/" 1.11 +MAINTAINER="rcx@zoominternet.net" 1.12 +WANTED="xalan-c" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + mkdir -p $fs/usr 1.18 + cp -a $_pkg/usr/include $fs/usr 1.19 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/xalan-c/receipt Tue Jun 16 14:58:16 2009 +0000 2.3 @@ -0,0 +1,46 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="xalan-c" 2.7 +VERSION="1.10.0-r705082" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="An XSLT processor for transforming XML documents into HTML, text, or other XML document types." 2.10 +MAINTAINER="rcx@zoominternet.net" 2.11 +DEPENDS="glibc-base gcc-lib-base xerces-c" 2.12 +BUILD_DEPENDS="slitaz-toolchain xerces-c xerces-c-dev" 2.13 +TARBALL="Xalan-C_r705082-src.tar.gz" 2.14 +WEB_SITE="http://xalan.apache.org/" 2.15 +# Need to use the patched r705082 version on Gentoo's mirrors 2.16 +# Normal WGET_URL would be "http://www.apache.org/dist/xml/$PACKAGE/source/$TARBALL" 2.17 +WGET_URL="http://www.gtlib.gatech.edu/pub/gentoo/distfiles/$TARBALL" 2.18 + 2.19 +# Rules to configure and make the package. 2.20 +compile_rules() 2.21 +{ 2.22 + # Determine if BUILD_HOST has been defined in tazwok.conf as it should 2.23 + if [ -z "$BUILD_HOST" ] ; then 2.24 + # Provide a default TOOLPREFIX value 2.25 + BUILD_HOST=i486-pc-linux-gnu 2.26 + fi 2.27 + 2.28 + mv xml-xalan/c $src 2.29 + rm -r xml-xalan 2.30 + 2.31 + cd $src 2.32 + 2.33 + export XERCESCROOT=/usr 2.34 + export XALANCROOT=$src 2.35 + 2.36 + ./runConfigure -p linux -c gcc -x g++ -P /usr \ 2.37 + -C --build=$BUILD_HOST -C --host=$BUILD_HOST && 2.38 + make && 2.39 + make DESTDIR=$src/_pkg install 2.40 +} 2.41 + 2.42 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.43 +genpkg_rules() 2.44 +{ 2.45 + mkdir -p $fs/usr/lib 2.46 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.47 + 2.48 + cp -a $_pkg/usr/bin $fs/usr 2.49 +}