void-packages/srcpkgs/vnstat/template

24 lines
606 B
Bash

# Template build file for "vnstat"
pkgname=vnstat
version=1.16
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=420fec6c89229a100697f3189e824a1b81f7148dd651558f2ff03cc298308e8b
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
}