summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-08-06 23:36:44 -0400
committerMike Gilbert <floppym@gentoo.org>2016-08-06 23:37:47 -0400
commitc8ea343c3804d1669d6163661b033229b985533f (patch)
tree1c7d725899dee3120154d9b181093c091aa819ca /sys-power/cpupower
parentprofiles: Add masks for 3 mate packages dropped netween 1.8 & 1.10 (diff)
downloadgentoo-c8ea343c3804d1669d6163661b033229b985533f.tar.gz
gentoo-c8ea343c3804d1669d6163661b033229b985533f.tar.bz2
gentoo-c8ea343c3804d1669d6163661b033229b985533f.zip
sys-power/cpupower: bump to 4.7.0
Package-Manager: portage-2.3.0_p16
Diffstat (limited to 'sys-power/cpupower')
-rw-r--r--sys-power/cpupower/Manifest1
-rw-r--r--sys-power/cpupower/cpupower-4.7.0.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/sys-power/cpupower/Manifest b/sys-power/cpupower/Manifest
index 9eef36e8a695..a9710a8a1116 100644
--- a/sys-power/cpupower/Manifest
+++ b/sys-power/cpupower/Manifest
@@ -1,4 +1,5 @@
DIST cpupower-4.5.0.tar.xz 67592 SHA256 cc9e0bc333673f2be3eeb06ccb8465dfa0a3c274da88350d5d40249594a37283 SHA512 274b17d0f00d7f8f409b9f6e73867494cd2d65536c839640f953617c8f5f6cee8c157807b10eaffe38188e6e7d9962a94034e19e04a9a1743600191dff4de46e WHIRLPOOL 41725120c916ea85aa56e417e15f90699657f709de7d3e64e232cbc84a5df8f6ff0018fa48be2ac1cddd2d5b9e437c74fb66b5c80733ba5d4e60a68649c95359
+DIST cpupower-4.7.0.tar.xz 67592 SHA256 643b96683effff7f8688eed1d2ab1156efeac78cb988226eda44535b77eeac98 SHA512 0c5976ca188b713ee4362db884891108a4cfee6fb0fb27a080edd38f8cdc6f6c76eca8b6a92b312d0443e703013dd7f6df3756b5fc7215bc95cd5a904bb62e21 WHIRLPOOL ad9844e4166e680bbb39e70f3bb54b0b6545040f9349e70ec6ae75026206fd39991891b6cf38b295e40d987a5ef288e0262f441a7a9450a4c099a35cb1f6e93f
DIST linux-3.13.tar.xz 77187032 SHA256 4d5e5eee5f276424c32e9591f1b6c971baedc7b49f28ce03d1f48b1e5d6226a2 SHA512 1ba223bb4b885d691a67196d86a8aaf7b4a1c351bf2a762f50f1b0c32da00dd0c28895872a66b49e8d244498d996876609268e64861d28ac4048886ef9f79b87 WHIRLPOOL 2992257a17e85b3eb16fcaf21678fa6dbf31f80c2099fd1ad0ff9852ac1d16122ac8e2c0b46421d8895d4368253a724e439cd625307ee7af7bd1e50cb2c9b62a
DIST linux-3.14.tar.xz 78399152 SHA256 61558aa490855f42b6340d1a1596be47454909629327c49a5e4e10268065dffa SHA512 5730d83a7a81134c1e77c0bf89e42dee4f8251ad56c1ac2be20c59e26fdfaa7bea55f277e7af156b637f22e1584914a46089af85039177cb43485089c74ac26e WHIRLPOOL 5ad07b78c362ba0b21c50b4abb99407cae06bd08576f3fd8f36047b01409eba096263208020da3dcad4977eefc61d66502276754097bc127635df1d7a5817d41
DIST linux-3.15.tar.xz 79676484 SHA256 c3927e87be4040fa8aca1b58663dc0776aaf00485604ff88a623be2f3fb07794 SHA512 d5dc477cad4584e56e2e2ef9e0950c2b22e76e5cf5090a896ba099cb7c5e5db1853a4aeb96b199189653dc66d461557e95198e37516a619f7ddc01ba6b308e02 WHIRLPOOL 7f3dfde1a23aab75b7f40770ae2ca77c1b28f845e4abe6296b2aec9b56fe94f7afa76b00eb6cc7475305c31b726ebeb4643107dd48c12ac04c933cf1856b8e77
diff --git a/sys-power/cpupower/cpupower-4.7.0.ebuild b/sys-power/cpupower/cpupower-4.7.0.ebuild
new file mode 100644
index 000000000000..432a45f45741
--- /dev/null
+++ b/sys-power/cpupower/cpupower-4.7.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Shows and sets processor power related values"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI="https://dev.gentoo.org/~floppym/dist/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="cpufreq_bench debug nls"
+
+# File collision w/ headers of the deprecated cpufrequtils
+RDEPEND="sys-apps/pciutils
+ !<sys-apps/linux-misc-apps-3.6-r2
+ !sys-power/cpufrequtils"
+DEPEND="${RDEPEND}
+ virtual/os-headers
+ nls? ( sys-devel/gettext )"
+
+src_compile() {
+ myemakeargs=(
+ DEBUG=$(usex debug true false)
+ V=1
+ CPUFREQ_BENCH=$(usex cpufreq_bench true false)
+ NLS=$(usex nls true false)
+ docdir=/usr/share/doc/${PF}/${PN}
+ mandir=/usr/share/man
+ libdir=/usr/$(get_libdir)
+ AR="$(tc-getAR)"
+ CC="$(tc-getCC)"
+ LD="$(tc-getCC)"
+ STRIP=true
+ OPTIMIZATION=
+ VERSION=${PV}
+ )
+
+ if [[ -n ${LINGUAS+set} ]]; then
+ strip-linguas -i po
+ myemakeargs+=( LANGUAGES="${LINGUAS}" )
+ fi
+
+ emake "${myemakeargs[@]}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" "${myemakeargs[@]}" install
+ dodoc README ToDo
+
+ newconfd "${FILESDIR}"/conf.d-r2 cpupower
+ newinitd "${FILESDIR}"/init.d-r4 cpupower
+}