updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / xml-security-c / PKGBUILD
blobfb07e3ba83ef23ba05ff240d6e481b3f8b94b844
1 # Contributor: kevku <kevku@gmx.com>
2 # Contributor: Kaiting Chen <kaitocracy@gmail.com>
4 pkgname='xml-security-c'
5 pkgver='1.6.1'
6 pkgrel='1'
7 pkgdesc='Apache C++ XML security libraries'
8 arch=('i686' 'x86_64')
9 url='http://santuario.apache.org/'
10 license=('GPL')
11 depends=('xerces-c' 'xalan-c>=1.11_pre1153059' 'openssl' 'nss')
12 source=('1.6.1-nss-compilation-fix.patch'
13         "http://ftp.wayne.edu/apache/santuario/c-library/$pkgname-$pkgver.tar.gz")
14 md5sums=('4fec2e5292767f3777ef6c5fd6f49376'
15          '808316c80a7453b6d50a0bceb7ebe9bc')
17 build() {
18   cd "${srcdir}/${pkgname}-${pkgver}"
19   patch -Np1 -i $srcdir/1.6.1-nss-compilation-fix.patch
20   ./configure --prefix=/usr \
21     --with-openssl \
22     --with-xerces \
23     --with-xalan \
24     --with-nss \
25     --disable-static
26   mkdir -p xsec/yes/lib
27   make
30 package(){
31   cd "${srcdir}/${pkgname}-${pkgver}"
32   make DESTDIR="$pkgdir" install