summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2018-01-03 23:34:32 +0100
committerDavid Seifert <soap@gentoo.org>2018-01-04 10:15:31 +0100
commit3c16d8488d2c286aac2c158527353c6ca5add326 (patch)
tree24cf51398f67fec073dbeed5beaba14f15cec854 /x11-plugins/gkrellm-cpupower
parentx11-plugins/gkrellm-leds: Eclass update (diff)
downloadgentoo-3c16d8488d2c286aac2c158527353c6ca5add326.tar.gz
gentoo-3c16d8488d2c286aac2c158527353c6ca5add326.tar.bz2
gentoo-3c16d8488d2c286aac2c158527353c6ca5add326.zip
x11-plugins/gkrellm-cpupower: Eclass update
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'x11-plugins/gkrellm-cpupower')
-rw-r--r--x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r1.ebuild17
1 files changed, 8 insertions, 9 deletions
diff --git a/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r1.ebuild b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r1.ebuild
index f8679d71309f..dcf420b95721 100644
--- a/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r1.ebuild
+++ b/x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -16,25 +16,24 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-S="${WORKDIR}/${MY_P}"
-
+DEPEND="app-admin/gkrellm:2[X]"
RDEPEND="
- app-admin/gkrellm[X]
+ ${DEPEND}
app-admin/sudo
- sys-power/cpupower
-"
+ sys-power/cpupower"
-PLUGIN_SO="cpupower.so"
+S=${WORKDIR}/${MY_P}
src_install() {
+ local PLUGIN_SO=( cpupower$(get_modname) )
gkrellm-plugin_src_install
emake DESTDIR="${D}" install-sudo
}
pkg_postinst() {
- echo
+ einfo
einfo "For changing the governor and CPU frequencies as a user, create the \"trusted\""
einfo "group, and add those users to that group who should be allowed to perform"
einfo "these changes."
- echo
+ einfo
}