From 948d557b4a61dc14722668b6b11a4cf3cee07b01 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 13 Sep 2019 17:56:30 +0100 Subject: gentoo resync : 13.09.2019 --- sys-process/usbtop/usbtop-1.0.ebuild | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 sys-process/usbtop/usbtop-1.0.ebuild (limited to 'sys-process/usbtop/usbtop-1.0.ebuild') diff --git a/sys-process/usbtop/usbtop-1.0.ebuild b/sys-process/usbtop/usbtop-1.0.ebuild new file mode 100644 index 000000000000..7b8e3d1fcb94 --- /dev/null +++ b/sys-process/usbtop/usbtop-1.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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:=" +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 +} -- cgit v1.2.3