1 # Maintainer: Paul Colomiets <paul@colomiets.name>
6 pkgdesc="A web frontend to collectd and rrd to json command-line extractor"
8 url="http://github.com/tailhook/jarred"
10 depends=('zeromq' 'rrdtool')
12 "zerogw: Running web frontend"
16 "https://github.com/downloads/tailhook/jarred/$pkgname-$pkgver.tar.gz"
19 md5sums=('3fcd9645c19a142c9ab7e373b7d3a943' 'edb081accac11c7bb84981abe0063b83')
20 install=(jarred.install)
23 cd $srcdir/$pkgname-$pkgver
24 ./waf configure --prefix=/usr
29 cd $srcdir/$pkgname-$pkgver
30 ./waf install --destdir=$pkgdir
31 install -d -m 755 $pkgdir/etc/jarred
32 ln -s /usr/share/jarred/public/js/all.js $pkgdir/etc/jarred/all.js
33 install -D -m 755 jarred.rc $pkgdir/etc/rc.d/jarred
34 install -D -m 644 jarred-zerogw.yaml $pkgdir/etc/zerogw.d/jarred.yaml
35 mkdir -p $pkgdir/usr/share/jarred/public
36 cp -R public/* $pkgdir/usr/share/jarred/public
37 install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"