wok-6.x annotate xalan-c/receipt @ rev 9718

slitaz-toolchain: create toolchain.txt info in /usr/share/doc/slitaz
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 09 02:12:10 2011 +0200 (2011-05-09)
parents ca1615e2cdc4
children 0e59484220c7
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"
pascal@5032 8 DEPENDS="glibc-base gcc-lib-base xerces-c libcurl libcrypto icu"
rcx@3472 9 TARBALL="Xalan-C_r705082-src.tar.gz"
rcx@3472 10 WEB_SITE="http://xalan.apache.org/"
rcx@3472 11 # Need to use the patched r705082 version on Gentoo's mirrors
rcx@3472 12 # Normal WGET_URL would be "http://www.apache.org/dist/xml/$PACKAGE/source/$TARBALL"
rcx@3472 13 WGET_URL="http://www.gtlib.gatech.edu/pub/gentoo/distfiles/$TARBALL"
rcx@3472 14
rcx@3472 15 # Rules to configure and make the package.
rcx@3472 16 compile_rules()
rcx@3472 17 {
rcx@3472 18 cd $src
gokhlayeh@8228 19 mv c/* . && rm -r c
rcx@3472 20
rcx@3472 21 export XERCESCROOT=/usr
rcx@3472 22 export XALANCROOT=$src
rcx@3472 23
rcx@3472 24 ./runConfigure -p linux -c gcc -x g++ -P /usr \
rcx@3472 25 -C --build=$BUILD_HOST -C --host=$BUILD_HOST &&
gokhlayeh@8263 26 make -j1 &&
gokhlayeh@8228 27 make install
rcx@3472 28 }
rcx@3472 29
rcx@3472 30 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3472 31 genpkg_rules()
rcx@3472 32 {
rcx@3472 33 mkdir -p $fs/usr/lib
rcx@3472 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
rcx@3472 35
rcx@3472 36 cp -a $_pkg/usr/bin $fs/usr
rcx@3472 37 }