26 lines
666 B
Bash
26 lines
666 B
Bash
# Template file for 'vnstat'
|
|
pkgname=vnstat
|
|
version=2.4
|
|
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="Eivind Uggedal <eivind@uggedal.com>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://humdi.net/vnstat/"
|
|
distfiles="https://humdi.net/vnstat/vnstat-${version}.tar.gz"
|
|
checksum=a0955999abd56d5463d257ffdccc9b1e9ad9ea504de81e64ba4c197f1245abaa
|
|
|
|
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
|
|
}
|