usbtop: rebuild against boost-1.68.0
This commit is contained in:
parent
084471d564
commit
47895ce773
1 changed files with 10 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'usbtop'
|
# Template file for 'usbtop'
|
||||||
pkgname=usbtop
|
pkgname=usbtop
|
||||||
version=0.2
|
version=0.2
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="usbtop-release-${version}"
|
wrksrc="usbtop-release-${version}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
makedepends="boost-devel libpcap-devel"
|
makedepends="boost-devel libpcap-devel"
|
||||||
|
@ -12,6 +12,15 @@ license="BSD-3-Clause"
|
||||||
distfiles="https://github.com/aguinet/usbtop/archive/release-${version}.tar.gz"
|
distfiles="https://github.com/aguinet/usbtop/archive/release-${version}.tar.gz"
|
||||||
checksum=6283454ccbfecab44276344b6bc1bf74e86808fb9f539ca63eb0447d7741487e
|
checksum=6283454ccbfecab44276344b6bc1bf74e86808fb9f539ca63eb0447d7741487e
|
||||||
|
|
||||||
|
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() {
|
do_install() {
|
||||||
vbin build/src/usbtop
|
vbin build/src/usbtop
|
||||||
vdoc README.md
|
vdoc README.md
|
||||||
|
|
Loading…
Reference in a new issue