summaryrefslogtreecommitdiff
path: root/sys-power/uhubctl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-09 09:14:02 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-09 09:14:02 +0000
commitb9ef7cab6264f1838672efbbcb4ba3b3abd5323f (patch)
tree38e677f4a13244ca8ed29a815a0a62f943b430d4 /sys-power/uhubctl
parentd37b97a25b8b10f748eead6574b01f893f140b01 (diff)
gentoo resync : 09.12.2017
Diffstat (limited to 'sys-power/uhubctl')
-rw-r--r--sys-power/uhubctl/Manifest3
-rw-r--r--sys-power/uhubctl/metadata.xml8
-rw-r--r--sys-power/uhubctl/uhubctl-1.8-r1.ebuild21
3 files changed, 32 insertions, 0 deletions
diff --git a/sys-power/uhubctl/Manifest b/sys-power/uhubctl/Manifest
new file mode 100644
index 000000000000..6ba59f9e9aae
--- /dev/null
+++ b/sys-power/uhubctl/Manifest
@@ -0,0 +1,3 @@
+DIST uhubctl-1.8.tar.gz 16158 BLAKE2B 1203e9711716987c0f60786cfe48a92a9a9a78f4bceb3851889a305a1289772375c6a512c361ba1e3e937fa1cb2f64e07365ef494e248e07a7a4f45f9e78c451 SHA512 fcc88ca47467e8e6085a75461495393306ddff1d6f7c9184c129bbdd044451b6430ac916f648b9f71c798054373f3d9102185e3d0c8f355c47e2574a1984ec9d
+EBUILD uhubctl-1.8-r1.ebuild 515 BLAKE2B 54efe23c3e89fa79709d8334b6ee7c06c807a10aeb133b5d96b684d612aafd8341dfaabe5271506a70ea532b2ac84fb537cce65b99fea3ae42d81ac1cf82e5f3 SHA512 3d1e995497002cf191382281ddbb4f96ef530210a50c3a808bf1e08393345541c59ccfd613a647a4c796a4e0cf4c280f59a13a915b8a2557fdf7add3afbbb5e4
+MISC metadata.xml 247 BLAKE2B 0f6116ad1a6532d4d062e4e8dadf00f3053ccd4408f030535d3adc5f0399e43ac1682b3786a1a321ba7dd8c1b448cebc5938207a5af59fc033e0e6cf4c654c40 SHA512 8111616dc98858617382132291d5d7a4900eb04643a2c67d4c2eae21dbd08e2fd5f73d533befaa5a0c6a074b04046f1e5bf7a139386ca10ffffef329825d0514
diff --git a/sys-power/uhubctl/metadata.xml b/sys-power/uhubctl/metadata.xml
new file mode 100644
index 000000000000..f4c696b2c619
--- /dev/null
+++ b/sys-power/uhubctl/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Rick Farina</name>
+ <email>zerochaos@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/sys-power/uhubctl/uhubctl-1.8-r1.ebuild b/sys-power/uhubctl/uhubctl-1.8-r1.ebuild
new file mode 100644
index 000000000000..743f2d6cbbaa
--- /dev/null
+++ b/sys-power/uhubctl/uhubctl-1.8-r1.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 -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~arm"
+IUSE=""
+
+DEPEND="virtual/libusb:1"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i "s#\$(shell git describe --abbrev=4 --dirty --always --tags)#${PV}#" Makefile || die
+ eapply_user
+}