wok diff xalan-c/receipt @ rev 4391
util-linux-ng-blkid: update depends.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Oct 15 20:56:02 2009 +0000 (2009-10-15) |
parents | |
children | 413b0174114a |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xalan-c/receipt Thu Oct 15 20:56:02 2009 +0000 1.3 @@ -0,0 +1,46 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="xalan-c" 1.7 +VERSION="1.10.0-r705082" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="An XSLT processor for transforming XML documents into HTML, text, or other XML document types." 1.10 +MAINTAINER="rcx@zoominternet.net" 1.11 +DEPENDS="glibc-base gcc-lib-base xerces-c" 1.12 +BUILD_DEPENDS="slitaz-toolchain xerces-c xerces-c-dev" 1.13 +TARBALL="Xalan-C_r705082-src.tar.gz" 1.14 +WEB_SITE="http://xalan.apache.org/" 1.15 +# Need to use the patched r705082 version on Gentoo's mirrors 1.16 +# Normal WGET_URL would be "http://www.apache.org/dist/xml/$PACKAGE/source/$TARBALL" 1.17 +WGET_URL="http://www.gtlib.gatech.edu/pub/gentoo/distfiles/$TARBALL" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + # Determine if BUILD_HOST has been defined in tazwok.conf as it should 1.23 + if [ -z "$BUILD_HOST" ] ; then 1.24 + # Provide a default TOOLPREFIX value 1.25 + BUILD_HOST=i486-pc-linux-gnu 1.26 + fi 1.27 + 1.28 + mv xml-xalan/c $src 1.29 + rm -r xml-xalan 1.30 + 1.31 + cd $src 1.32 + 1.33 + export XERCESCROOT=/usr 1.34 + export XALANCROOT=$src 1.35 + 1.36 + ./runConfigure -p linux -c gcc -x g++ -P /usr \ 1.37 + -C --build=$BUILD_HOST -C --host=$BUILD_HOST && 1.38 + make && 1.39 + make DESTDIR=$src/_pkg install 1.40 +} 1.41 + 1.42 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.43 +genpkg_rules() 1.44 +{ 1.45 + mkdir -p $fs/usr/lib 1.46 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.47 + 1.48 + cp -a $_pkg/usr/bin $fs/usr 1.49 +}