1 # Contributor: Daniel Milde <info@milde.cz>
6 pkgdesc="Minimalistic load monitor"
7 url="https://launchpad.net/mimon"
10 depends=('python' 'rrdtool')
11 source=("http://launchpad.net/mimon/trunk/0.2.6/+download/mimon-0.2.6.tar.gz"
13 md5sums=('177b2e39cbe46558032a96b1669b2dc6'
14 '0cf2c66a6416008a029d7f54b7b16d2e')
17 cd $srcdir/$pkgname-$pkgver
19 python setup.py install --root=$startdir/pkg
21 install -D -m755 ./mimond ${pkgdir}/usr/bin/mimond
22 install -D -m755 ./mimon-graph ${pkgdir}/usr/bin/mimon-graph
24 install -D -m644 ./mimon.conf ${pkgdir}/etc/mimon.conf
25 install -D -m755 ../../mimon ${pkgdir}/etc/rc.d/mimon
27 install -d ${pkgdir}/var/lib/mimon