Files
gentoo/sys-power/powerstat/powerstat-0.02.11.ebuild
Vladimir Pavljuchenkov (SpiderX) d9b90c53eb sys-power/powerstat: new ebuild
Powerstat measures the power consumption of a machine using the battery
stats or the Intel RAPL interface. The output is like vmstat but also
shows power consumption statistics. At the end of a run, powerstat will
calculate the average, standard deviation and min/max of the gathered data.

Package-Manager: portage-2.3.0
2016-12-28 12:53:41 -05:00

21 lines
466 B
Bash

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit toolchain-funcs
DESCRIPTION="Laptop power measuring tool"
HOMEPAGE="https://launchpad.net/ubuntu/+source/${PN} https://github.com/ColinIanKing/${PN}"
SRC_URI="https://github.com/ColinIanKing/${PN}/archive/V${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
src_compile() {
emake CC=$(tc-getCC)
}