blob: 2de7fb30b988a202538468ea8f8033e08a676dba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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')
|