1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 EGIT_REPO_URI="https://github.com/ColinIanKing/${PN}.git"
8 inherit git-r3 toolchain-funcs
10 DESCRIPTION="Laptop power measuring tool"
11 HOMEPAGE="https://launchpad.net/ubuntu/+source/powerstat https://github.com/ColinIanKing/powerstat"
22 # Don't compress manpages
23 sed -i -e '/install:/s/ powerstat.8.gz//' \
24 -e '/cp powerstat.8/s/.gz//' \
25 Makefile || die "sed failed"
29 emake CC="$(tc-getCC)"