summaryrefslogtreecommitdiff
path: root/community/xalan-c/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/xalan-c/PKGBUILD')
-rw-r--r--community/xalan-c/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/xalan-c/PKGBUILD b/community/xalan-c/PKGBUILD
new file mode 100644
index 000000000..2de7fb30b
--- /dev/null
+++ b/community/xalan-c/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 11866 2010-02-20 10:45:04Z dgriffiths $
+# Maintainer: Roman Kyrylych <Roman.Kyrylych@gmail.com>
+# Contributor: William Rea <sillywilly@gmail.com>
+
+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')