1 # Maintainer: Hideyuki Tanaka <tanaka.hideyuki@gmail.com>
6 pkgdesc="Distributed Online Machine Learning Framework"
11 depends=('gcc' 'pficommon>=1.3.1' 'msgpack>=0.5.7' 'google-glog' 're2c')
12 makedepends=('pkg-config')
14 optdepends=('mecab-ipadic-utf8: for morphological analysis' 'zookeeper: for managing distributed system')
22 source=($pkgname-$pkgver.tar.bz2)
24 md5sums=('454b01e9e27323143fea5bd999263293')
27 cd "$srcdir/$pkgname-$pkgver"
29 if which mecab-config > /dev/null; then export FLAGS='--enable-mecab'; fi
30 ./waf configure --prefix=/usr $FLAGS || ./waf configure --prefix=/usr $FLAGS --disable-zookeeper
35 cd "$srcdir/$pkgname-$pkgver"
40 cd "$srcdir/$pkgname-$pkgver"
41 ./waf --destdir="$pkgdir/" install
44 # vim:set ts=2 sw=2 et: