summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-power/uhubctl/uhubctl-1.8.ebuild')
-rw-r--r--sys-power/uhubctl/uhubctl-1.8.ebuild21
1 files changed, 21 insertions, 0 deletions
diff --git a/sys-power/uhubctl/uhubctl-1.8.ebuild b/sys-power/uhubctl/uhubctl-1.8.ebuild
new file mode 100644
index 000000000000..90759ede5c1c
--- /dev/null
+++ b/sys-power/uhubctl/uhubctl-1.8.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="USB hub per-port power control"
+HOMEPAGE="https://github.com/mvp/uhubctl"
+SRC_URI="https://github.com/mvp/uhubctl/archive/v${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~arm"
+IUSE=""
+
+DEPEND="dev-libs/libusb:1"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i "s#\$(shell git describe --abbrev=4 --dirty --always --tags)#${PV}#" Makefile || die
+ eapply_user
+}