void-packages/srcpkgs/vnstat/template
2022-01-24 15:25:13 +01:00

27 lines
707 B
Bash

# Template file for 'vnstat'
pkgname=vnstat
version=2.9
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=11a21475dea91706500aba7c63e24126703fd01f13b1f3acdf92baa5aead9dc7
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
}