summaryrefslogtreecommitdiff
path: root/community/xalan-c/PKGBUILD
blob: e013f6b976df0265d13360b1757e6880425b13a7 (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
34
35
36
37
38
# $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_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')
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

  cd ${srcdir}/xml-xalan/c
  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
}

package() {
  cd ${srcdir}/xml-xalan/c
  make DESTDIR=${pkgdir} install
}