blob: 3aa16962b0dc024b44e910b3344f477bfa8aa010 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake 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"
COMMIT="b9a26bd22b91b84bd72906c6501e61df7b13f3d6"
SRC_URI="https://github.com/aguinet/usbtop/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
#S="${WORKDIR}/${PN}-release-${PV}"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~riscv x86"
RDEPEND="net-libs/libpcap[usb]"
DEPEND="${RDEPEND}
dev-libs/boost:="
pkg_setup() {
linux-info_pkg_setup
if linux_config_exists; then
CONFIG_CHECK="~USB_MON"
check_extra_config
fi
}
|