void-packages/srcpkgs/usbtop/template

22 lines
604 B
Bash

# Template file for 'usbtop'
pkgname=usbtop
version=1.0
revision=1
wrksrc="usbtop-release-${version}"
build_style=cmake
makedepends="boost-devel libpcap-devel"
short_desc="Shows an estimated instantaneous bandwidth on USB buses and devices"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/aguinet/usbtop"
distfiles="https://github.com/aguinet/usbtop/archive/release-${version}.tar.gz"
checksum=eea7f2fbdcaacbf1097f62f9e4fb50ffd238cec3085b67d384ab0a419274e1da
LDFLAGS="-lpthread"
do_install() {
vbin build/src/usbtop
vdoc README.md
vlicense LICENSE
}