20 lines
544 B
Bash
20 lines
544 B
Bash
# Template build file for "vnstat"
|
|
pkgname=vnstat
|
|
version=1.14
|
|
revision=3
|
|
build_style=gnu-makefile
|
|
short_desc="A terminal based network traffic monitor"
|
|
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
|
homepage="http://humdi.net/vnstat/"
|
|
license="GPL-2"
|
|
distfiles="http://humdi.net/vnstat/${pkgname}-${version}.tar.gz"
|
|
checksum=f8462a47d85d0890493dc9eaeafbc725ae631aa5b103fb7f8af4ddb2314e8386
|
|
make_install_args="SBIN=${DESTDIR}/usr/bin"
|
|
|
|
conf_files="/etc/vnstat.conf"
|
|
make_dirs="/var/lib/vnstat 0755 root root"
|
|
|
|
post_install() {
|
|
vsv vnstatd
|
|
}
|