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