updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / zorba / PKGBUILD
blob80706642168b40f0eb2a6a6c4fe598d0cc59bec1
1 # $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
2 # Author: Mathieu Boespflug <mboes@tweag.net> (original 0.9.21)
3 # Maintainer: Alexey Stukalov <astukalov@gmail.com> (updated to 2.0.x)
4 pkgname=zorba  
5 pkgver=2.0.3
6 pkgrel=1
7 pkgdesc="General purpose embeddable XQuery processor written in C++."
8 url="http://www.zorba-xquery.com/"
9 arch=('i686' 'x86_64')
10 license=('APACHE')
11 depends=('libxml2>=2.2.16' 'libxslt>=1.1.24' 'icu>=3.6' 'boost>=1.47' 'xerces-c>=3.0.0')
12 optdepends=('curl>=7.21.0: REST and HTTP support')
13 makedepends=('cmake>=2.6.4' 'flex>=2.5.33' 'bison>=2.4')
15 source=(http://launchpad.net/$pkgname/trunk/2.0/+download/$pkgname-$pkgver.tar.gz)
16 md5sums=('44cce115c672d36ab22c2f3ca9ecc48c')
18 build() {
19   cd $srcdir
21   mkdir build
22   cd build
24   msg2 Configuring...
25   cmake -Wno-dev \
26         -DCMAKE_CXX_FLAGS="${CXXFLAGS} -Wno-c++0x-compat" \
27         -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \
28         $srcdir/${pkgname}-${pkgver}
30   msg2 Compiling...
31   make
34 package() {
35   cd $srcdir/build
36   make DESTDIR=$pkgdir install