mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
30 lines
669 B
Bash
30 lines
669 B
Bash
# Copyright 1999-2018 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
inherit cmake-utils linux-info
|
|
|
|
DESCRIPTION="utility that shows an estimated instantaneous bandwidth on USB buses and devices"
|
|
HOMEPAGE="https://github.com/aguinet/usbtop"
|
|
SRC_URI="https://github.com/aguinet/usbtop/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
DEPEND="net-libs/libpcap:=[usb]
|
|
dev-libs/boost:=[threads]"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
S="${WORKDIR}/${PN}-release-${PV}"
|
|
|
|
pkg_setup() {
|
|
linux-info_pkg_setup
|
|
if linux_config_exists; then
|
|
CONFIG_CHECK="~USB_MON"
|
|
check_extra_config
|
|
fi
|
|
}
|