void-packages/srcpkgs/vnstat/template

28 lines
707 B
Bash

# Template file for 'vnstat'
pkgname=vnstat
version=2.6
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=89276e0a7281943edb554b874078278ad947dc312938a2451e03eb80679f7ff7
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
}