updated on Tue Jan 10 00:10:07 UTC 2012
[aur-mirror.git] / hypertable / PKGBUILD
blobe44210cbe909d0d8f837cfb019dca1590264b769
1 # Maintainer: Thomas Dziedzic < gostrc at gmail >
3 pkgname=hypertable
4 pkgver=0.9.3.2
5 pkgrel=1
6 pkgdesc='A high performance, scalable, distributed storage and processing system for structured and unstructured data.'
7 arch=('i686' 'x86_64')
8 url='http://hypertable.org/'
9 license=('GPL2')
10 depends=('log4cpp' 'hyperic-sigar' 'thrift' 'google-perftools' 'kfs' 'ceph' 'rrdtool')
11 source=("http://$pkgname.googlecode.com/files/$pkgname-$pkgver-alpha-src.tar.gz")
12 md5sums=('e16b3348ed61202e0c17e1679af47520')
14 build() { 
15   if [ -d build ]; then 
16     rm -r build || return 1
17   fi
19   mkdir build || return 1
20   cd build
22   export DESTDIR="${pkgdir}"
24   cmake \
25     -DCMAKE_BUILD_TYPE=Release \
26     -DThrift_LIB=/usr/lib/libthrift.so \
27     -DSIGAR_LIBRARY=/usr/lib/libsigar-x86-linux.so \
28     ../$pkgname-$pkgver-alpha || return 1
30   make || return 1
33 package() {
34   cd build || return 1
36   export DESTDIR="${pkgdir}"
37   
38   make install || return 1
40   return 1