void-packages/srcpkgs/vnstat/template

26 lines
636 B
Bash

# Template file for 'vnstat'
pkgname=vnstat
version=2.0
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="gd-devel sqlite-devel"
short_desc="A terminal based network traffic monitor"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
homepage="http://humdi.net/vnstat/"
license="GPL-2"
distfiles="http://humdi.net/vnstat/${pkgname}-${version}.tar.gz"
checksum=6326648d66970802472736ee1a7037676f654b94452b141b88253343595f7e84
conf_files="/etc/vnstat.conf"
make_dirs="/var/lib/vnstat 0755 root root"
pre_configure() {
autoreconf -fi
}
post_install() {
vconf cfg/vnstat.conf
vsv vnstatd
}