1 |
commit: 5092d2c6d710c654fc271dd434e260f034597d50 |
2 |
Author: Zero_Chaos <zerochaos <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 24 03:55:14 2018 +0000 |
4 |
Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 24 03:55:28 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5092d2c6 |
7 |
|
8 |
sys-process/usbtop: initial commit |
9 |
|
10 |
Package-Manager: Portage-2.3.48, Repoman-2.3.10 |
11 |
|
12 |
sys-process/usbtop/Manifest | 1 + |
13 |
sys-process/usbtop/metadata.xml | 10 ++++++++++ |
14 |
sys-process/usbtop/usbtop-0.2.ebuild | 29 +++++++++++++++++++++++++++++ |
15 |
3 files changed, 40 insertions(+) |
16 |
|
17 |
diff --git a/sys-process/usbtop/Manifest b/sys-process/usbtop/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000000..0eac4db7eb2 |
20 |
--- /dev/null |
21 |
+++ b/sys-process/usbtop/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST usbtop-0.2.tar.gz 10828 BLAKE2B d595fda23adee6778060c25176d1951250bb45cc25ea8040661222736c63aa356605ec8ca52b71e7142cf0f8e7807a77a54fffbc54165178f44af63dfb5ba712 SHA512 43a4512abcff6107ac7a56d65ee19c2b17f4aeb9d38e42e630d724c6744c7d23c85d2c66325c0e6b50404431312754646f1290202fa51f3dee1f94a9d211ba25 |
24 |
|
25 |
diff --git a/sys-process/usbtop/metadata.xml b/sys-process/usbtop/metadata.xml |
26 |
new file mode 100644 |
27 |
index 00000000000..f513208bf39 |
28 |
--- /dev/null |
29 |
+++ b/sys-process/usbtop/metadata.xml |
30 |
@@ -0,0 +1,10 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer type="person"> |
35 |
+ <email>zerochaos@g.o</email> |
36 |
+ <name>Rick Farina</name> |
37 |
+ </maintainer> |
38 |
+ <longdescription lang="en"> |
39 |
+ </longdescription> |
40 |
+</pkgmetadata> |
41 |
|
42 |
diff --git a/sys-process/usbtop/usbtop-0.2.ebuild b/sys-process/usbtop/usbtop-0.2.ebuild |
43 |
new file mode 100644 |
44 |
index 00000000000..2661c02577d |
45 |
--- /dev/null |
46 |
+++ b/sys-process/usbtop/usbtop-0.2.ebuild |
47 |
@@ -0,0 +1,29 @@ |
48 |
+# Copyright 1999-2018 Gentoo Foundation |
49 |
+# Distributed under the terms of the GNU General Public License v2 |
50 |
+ |
51 |
+EAPI=6 |
52 |
+ |
53 |
+inherit cmake-utils linux-info |
54 |
+ |
55 |
+DESCRIPTION="utility that shows an estimated instantaneous bandwidth on USB buses and devices" |
56 |
+HOMEPAGE="https://github.com/aguinet/usbtop" |
57 |
+SRC_URI="https://github.com/aguinet/usbtop/archive/release-${PV}.tar.gz -> ${P}.tar.gz" |
58 |
+ |
59 |
+LICENSE="BSD" |
60 |
+SLOT="0" |
61 |
+KEYWORDS="~amd64 ~x86" |
62 |
+IUSE="" |
63 |
+ |
64 |
+DEPEND="net-libs/libpcap:=[usb] |
65 |
+ dev-libs/boost:=[threads]" |
66 |
+RDEPEND="${DEPEND}" |
67 |
+ |
68 |
+S="${WORKDIR}/${PN}-release-${PV}" |
69 |
+ |
70 |
+pkg_setup() { |
71 |
+ linux-info_pkg_setup |
72 |
+ if linux_config_exists; then |
73 |
+ CONFIG_CHECK="~USB_MON" |
74 |
+ check_extra_config |
75 |
+ fi |
76 |
+} |