void-packages/srcpkgs/vnstat/template
2018-12-07 10:55:12 -02:00

25 lines
643 B
Bash

# Template file for 'vnstat'
pkgname=vnstat
version=2.1
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="gd-devel sqlite-devel"
short_desc="A terminal based network traffic monitor"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="GPL-2.0-only"
homepage="http://humdi.net/vnstat/"
distfiles="http://humdi.net/vnstat/${pkgname}-${version}.tar.gz"
checksum=d12cc8deb3d6ecac59a6554efce5df9e80e750f4de2b48b56e66b8f496e9607a
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
}