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, 19 insertions, 14 deletions
diff --git a/community/xalan-c/PKGBUILD b/community/xalan-c/PKGBUILD
index 25466f78a..e013f6b97 100644
--- a/community/xalan-c/PKGBUILD
+++ b/community/xalan-c/PKGBUILD
@@ -1,33 +1,38 @@
-# $Id: PKGBUILD 11866 2010-02-20 10:45:04Z dgriffiths $
+# $Id: PKGBUILD 54514 2011-08-19 14:55:46Z ibiru $
# Maintainer: Roman Kyrylych <Roman.Kyrylych@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=xalan-c
-pkgver=1.11_pre797991
-pkgrel=2
+pkgver=1.11_pre1153059
+pkgrel=1
pkgdesc="A XSLT processor for transforming XML documents"
arch=('i686' 'x86_64' 'mips64el')
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)
+source=(http://mirrors.kernel.org/gentoo/distfiles/Xalan-C_r1153059-src.tar.gz
+ 1.11.0_pre797991-as-needed.patch
+ 1.11.0_pre797991-bugfixes.patch
+ 1.11.0_pre797991-parallel-build.patch)
+md5sums=('98ea8584ccdbb9044757dda725f780bf'
+ '7040fb617e26fbdadc423948d3a23558'
+ 'fe7af1f3a9e02ad813481f0e1a84f16c'
+ '633b4ab702cb0ea0cf1010cadef7ac4c')
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
+ patch -Np2 -i ${srcdir}/1.11.0_pre797991-as-needed.patch
+ patch -Np2 -i ${srcdir}/1.11.0_pre797991-bugfixes.patch
+ patch -Np2 -i ${srcdir}/1.11.0_pre797991-parallel-build.patch
./runConfigure -p linux -c gcc -x g++ -P/usr
#./configure --prefix=/usr
- make || return 1
+ make
+}
+
+package() {
+ cd ${srcdir}/xml-xalan/c
make DESTDIR=${pkgdir} install
}
-md5sums=('cc54971e92f308bcc326f4bba542eeeb'
- '7040fb617e26fbdadc423948d3a23558'
- 'fe7af1f3a9e02ad813481f0e1a84f16c')