mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
sys-power/powerstat: update live ebuild
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Vladimir Pavljuchenkov <spiderx@spiderx.dp.ua> Closes: https://github.com/gentoo/gentoo/pull/14798 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
5ca1c438fd
commit
70eb2cbbd7
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@@ -16,8 +16,14 @@ SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE=""
|
||||
|
||||
# Don't compress manpages
|
||||
PATCHES=( "${FILESDIR}"/"${PN}"-0.02.17-makefile.patch )
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Don't compress manpages
|
||||
sed -i -e '/install:/s/ powerstat.8.gz//' \
|
||||
-e '/cp powerstat.8/s/.gz//' \
|
||||
Makefile || die "sed failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)"
|
||||
|
||||
Reference in New Issue
Block a user