25 lines
641 B
Bash
25 lines
641 B
Bash
# Template file for 'vnstat'
|
|
pkgname=vnstat
|
|
version=2.2
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool pkg-config"
|
|
makedepends="gd-devel sqlite-devel"
|
|
short_desc="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=c60a7bc35e0247b0d2e628d8fc39427f2482e844c2c7b9cdbfc814463310e02c
|
|
|
|
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
|
|
}
|