summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Pavljuchenkov (SpiderX) <spiderx@spiderx.dp.ua>2020-01-18 18:28:55 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-01-20 15:03:10 +0200
commit4680137cd2593d937d587ccf93a864f5db115e37 (patch)
treea8ba07b19fe8aae480d30bcfc61dfcc6084bf695 /sys-power
parentsys-power/powerstat: drop old ebuild (diff)
downloadgentoo-4680137cd2593d937d587ccf93a864f5db115e37.tar.gz
gentoo-4680137cd2593d937d587ccf93a864f5db115e37.tar.bz2
gentoo-4680137cd2593d937d587ccf93a864f5db115e37.zip
sys-power/powerstat: version bump to 0.02.21
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Vladimir Pavljuchenkov <spiderx@spiderx.dp.ua> Closes: https://github.com/gentoo/gentoo/pull/14379 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/powerstat/Manifest1
-rw-r--r--sys-power/powerstat/powerstat-0.02.21.ebuild22
2 files changed, 23 insertions, 0 deletions
diff --git a/sys-power/powerstat/Manifest b/sys-power/powerstat/Manifest
index 15f09704d0e4..43983b7b5e60 100644
--- a/sys-power/powerstat/Manifest
+++ b/sys-power/powerstat/Manifest
@@ -1 +1,2 @@
DIST powerstat-0.02.20.tar.gz 59127 BLAKE2B 893637b3b2ebb2969dcea34a02ff9c90aa1d08b2bb5fafcb80b6d41520e03b5696acc6020a337afaac676eb29e48e5449f718a40d88535d114766d77f70f6fca SHA512 1bfe33cb06d4647c8552ee4b85e12f55475b3a0aa77aaa9cbd72ba11c9c67bb087d64dbda2b6362fb60440e30060e670eb6ba4b7f164f7ab306320994e54fabe
+DIST powerstat-0.02.21.tar.gz 59255 BLAKE2B 4a7416aaa29c89863b4f372a6b48a0f77250d80343a552a2aa882b2caad10cbb5cfed13510c8fcc5b7f5d4f6df5e0e6291d4ca4f46e6776fe0e671aceedd94de SHA512 776baf8092b0d4e791b18679cf397fb6fc4ba482e5a24ca8bd6b787bdab2106cd5f172a5c0233be5cbc139445f3430eb6290cfac2a4502e83928d2a5700be63c
diff --git a/sys-power/powerstat/powerstat-0.02.21.ebuild b/sys-power/powerstat/powerstat-0.02.21.ebuild
new file mode 100644
index 000000000000..4b51fcf7079f
--- /dev/null
+++ b/sys-power/powerstat/powerstat-0.02.21.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Laptop power measuring tool"
+HOMEPAGE="https://launchpad.net/ubuntu/+source/powerstat https://github.com/ColinIanKing/powerstat"
+SRC_URI="https://github.com/ColinIanKing/${PN}/archive/V${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# Don't compress manpages
+PATCHES=( "${FILESDIR}"/"${PN}"-0.02.17-makefile.patch )
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}