void-packages/srcpkgs/vnstat/template

24 lines
654 B
Bash

# Template file for 'vnstat'
pkgname=vnstat
version=2.11
revision=1
build_style=gnu-configure
hostmakedepends="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=babc3f1583cc40e4e8ffb2f53296d93d308cb5a5043e85054f6eaf7b4ae57856
conf_files="/etc/vnstat.conf"
make_dirs="/var/lib/vnstat 0755 root root"
post_install() {
vconf cfg/vnstat.conf
vsv vnstatd
}