summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2017-12-07 11:37:32 -0500
committerZero_Chaos <zerochaos@gentoo.org>2017-12-07 11:37:46 -0500
commitb6e92d84d0b943c435c4fbd271079ff4cd4a42ff (patch)
tree2db9039656b37e8ab5e720eaba349e3285abc19c /sys-power
parentwww-client/vivaldi: Old. (diff)
downloadgentoo-b6e92d84d0b943c435c4fbd271079ff4cd4a42ff.tar.gz
gentoo-b6e92d84d0b943c435c4fbd271079ff4cd4a42ff.tar.bz2
gentoo-b6e92d84d0b943c435c4fbd271079ff4cd4a42ff.zip
sys-power/uhubctl: initial ebuild
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/uhubctl/Manifest1
-rw-r--r--sys-power/uhubctl/metadata.xml10
-rw-r--r--sys-power/uhubctl/uhubctl-1.8.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..cbc78b855141
--- /dev/null
+++ b/sys-power/uhubctl/Manifest
@@ -0,0 +1 @@
+DIST v1.8.tar.gz 16158 BLAKE2B 1203e9711716987c0f60786cfe48a92a9a9a78f4bceb3851889a305a1289772375c6a512c361ba1e3e937fa1cb2f64e07365ef494e248e07a7a4f45f9e78c451 SHA512 fcc88ca47467e8e6085a75461495393306ddff1d6f7c9184c129bbdd044451b6430ac916f648b9f71c798054373f3d9102185e3d0c8f355c47e2574a1984ec9d
diff --git a/sys-power/uhubctl/metadata.xml b/sys-power/uhubctl/metadata.xml
new file mode 100644
index 000000000000..b4ca965f410a
--- /dev/null
+++ b/sys-power/uhubctl/metadata.xml
@@ -0,0 +1,10 @@
+<?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>
+ <longdescription lang="en">
+ </longdescription>
+</pkgmetadata>
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
+}