diff options
-rw-r--r-- | x11-plugins/gkrellm-cpupower/gkrellm-cpupower-0.2-r1.ebuild | 17 |
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 } |