diff options
author | Rick Farina <zerochaos@gentoo.org> | 2023-08-19 09:23:44 -0400 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2023-08-19 09:23:44 -0400 |
commit | d04809b3844866b409f2c51c2a454e066cc62c5f (patch) | |
tree | 18d3a9421045834cb92bede1fd195ea7317ebc28 /sys-power | |
parent | sys-process/usbtop: add github upstream metadata (diff) | |
download | gentoo-d04809b3844866b409f2c51c2a454e066cc62c5f.tar.gz gentoo-d04809b3844866b409f2c51c2a454e066cc62c5f.tar.bz2 gentoo-d04809b3844866b409f2c51c2a454e066cc62c5f.zip |
sys-power/uhubctl: add 2.5.0
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/uhubctl/Manifest | 1 | ||||
-rw-r--r-- | sys-power/uhubctl/uhubctl-2.5.0.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/sys-power/uhubctl/Manifest b/sys-power/uhubctl/Manifest index 9d19870f6ab4..bb3845072e4c 100644 --- a/sys-power/uhubctl/Manifest +++ b/sys-power/uhubctl/Manifest @@ -1 +1,2 @@ DIST uhubctl-2.4.0.tar.gz 25661 BLAKE2B 44d1fa0ce92beb3c4c3e2d21c8acb982f71f2e450afffb8c467c488495f389b745ba437c6fbbe3049cd3f67a73fa8bda6ed9c987ab1326f12db59623ee107ece SHA512 d7f07679c4678565ce0174e1eb591263fae5629dd6fbb5aaa0321ca10176b8b2d662e75a3019caeb83aaf470c8386188848ba3095e1006451e8710b2a2c9bb1d +DIST uhubctl-2.5.0.tar.gz 28241 BLAKE2B 419e6e0a457eae05e8a9fbf5c66377f4b809d8f1cb7cd9af8055a0f12b4b96a82a34850ef39ae8ddabf919ec2858747ed121d57850c2318b59fabfad9086bd87 SHA512 2b902b7e1df788dd1d4720dcbc630c958e80619dee3bfe4bad222a089b7f2735c6189e5e7d497ce3782e6b6ee193906ea955621cf328a4022bce15f1179b1fda diff --git a/sys-power/uhubctl/uhubctl-2.5.0.ebuild b/sys-power/uhubctl/uhubctl-2.5.0.ebuild new file mode 100644 index 000000000000..e8ec52411eb4 --- /dev/null +++ b/sys-power/uhubctl/uhubctl-2.5.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +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 ~arm ~x86" +IUSE="" + +DEPEND="virtual/libusb:1" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + + sed -i \ + -e "s/^GIT_VERSION/#&/" \ + Makefile \ + || die + + tc-export PKG_CONFIG +} + +src_compile() { + emake CC="$(tc-getCC)" +} |