usbtop: update to 1.0.

This commit is contained in:
maxice8 2019-02-26 14:30:22 -03:00 committed by maxice8
parent 43690b69f6
commit d12318c8e3
2 changed files with 4 additions and 21 deletions

View file

@ -1,10 +0,0 @@
--- include/usbtop/usb_stats.h 2017-12-17 22:14:26.000000000 +0100
+++ - 2018-12-18 10:36:55.003948685 +0100
@@ -35,6 +35,7 @@
#include <cstddef>
#include <boost/circular_buffer.hpp>
+#include <boost/noncopyable.hpp>
#include <boost/thread/shared_mutex.hpp>
#define LIVE_SAMPLE_COUNT 128

View file

@ -1,26 +1,19 @@
# Template file for 'usbtop'
pkgname=usbtop
version=0.2
revision=3
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>"
homepage="https://github.com/aguinet/usbtop"
license="BSD-3-Clause"
homepage="https://github.com/aguinet/usbtop"
distfiles="https://github.com/aguinet/usbtop/archive/release-${version}.tar.gz"
checksum=6283454ccbfecab44276344b6bc1bf74e86808fb9f539ca63eb0447d7741487e
checksum=eea7f2fbdcaacbf1097f62f9e4fb50ffd238cec3085b67d384ab0a419274e1da
LDFLAGS="-lpthread"
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
*-musl);;
*) sed -i -e 's/\${Boost_LIBRARIES}/${Boost_LIBRARIES} "-lpthread"/g' src/CMakeLists.txt;;
esac
}
do_install() {
vbin build/src/usbtop
vdoc README.md