From: Zero_Chaos Date: Thu, 7 Dec 2017 16:37:32 +0000 (-0500) Subject: sys-power/uhubctl: initial ebuild X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=b6e92d84d0b943c435c4fbd271079ff4cd4a42ff;p=gentoo.git sys-power/uhubctl: initial ebuild Package-Manager: Portage-2.3.16, Repoman-2.3.6 --- 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 @@ + + + + + Rick Farina + zerochaos@gentoo.org + + + + 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 +}