void-packages/srcpkgs/vnstat/template

24 lines
606 B
Bash

# Template build file for "vnstat"
pkgname=vnstat
version=1.17
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
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=18e4c53576ca9e1ef2f0e063a6d83b0c44e3b1cf008560d658745df5c9aa7971
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
}