# $Id: PKGBUILD 11866 2010-02-20 10:45:04Z dgriffiths $ # Maintainer: Roman Kyrylych # Contributor: William Rea pkgname=xalan-c pkgver=1.11_pre797991 pkgrel=2 pkgdesc="A XSLT processor for transforming XML documents" arch=('i686' 'x86_64') url="http://xml.apache.org/xalan-c" license=('APACHE') depends=('xerces-c') options=('!makeflags') #source=(http://www.axint.net/apache/xml/xalan-c/source/Xalan-C_1_10_0-src.tar.gz) source=(http://mirrors.kernel.org/gentoo/distfiles/Xalan-C_r797991-src.tar.gz 1.11.0_pre797991-as-needed.patch 1.11.0_pre797991-bugfixes.patch) build() { export XALANCROOT=${srcdir}/xml-xalan/c unset LDFLAGS cd ${srcdir}/xml-xalan/c patch -Np2 -i ${srcdir}/1.11.0_pre797991-as-needed.patch || return 1 patch -Np2 -i ${srcdir}/1.11.0_pre797991-bugfixes.patch || return 1 ./runConfigure -p linux -c gcc -x g++ -P/usr #./configure --prefix=/usr make || return 1 make DESTDIR=${pkgdir} install } md5sums=('cc54971e92f308bcc326f4bba542eeeb' '7040fb617e26fbdadc423948d3a23558' 'fe7af1f3a9e02ad813481f0e1a84f16c')