void-packages/srcpkgs/vnstat/template

28 lines
708 B
Bash

# Template file for 'vnstat'
pkgname=vnstat
version=2.10
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="gd-devel sqlite-devel"
checkdepends="check-devel"
short_desc="Terminal based network traffic monitor"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://humdi.net/vnstat/"
changelog="https://humdi.net/vnstat/CHANGES"
distfiles="https://humdi.net/vnstat/vnstat-${version}.tar.gz"
checksum=a9c61744e5cd8c366e2db4d282badc74021ddb614bd65b41240937997e457d25
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
}