summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-12-11 17:16:36 -0500
committerMike Gilbert <floppym@gentoo.org>2016-12-11 17:19:48 -0500
commit1808a085c2981cdd2943d9fc5bae200c2e8cab23 (patch)
tree9b795fd1b129458f66dc6d96d578ed91f8fd7913 /sys-power
parentnet-im/pidgin: pidgin still doesn't work with python3 (bug #602214). (diff)
downloadgentoo-1808a085c2981cdd2943d9fc5bae200c2e8cab23.tar.gz
gentoo-1808a085c2981cdd2943d9fc5bae200c2e8cab23.tar.bz2
gentoo-1808a085c2981cdd2943d9fc5bae200c2e8cab23.zip
sys-power/cpupower: bump to 4.9.0
Package-Manager: portage-2.3.2_p13
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/cpupower/Manifest1
-rw-r--r--sys-power/cpupower/cpupower-4.9.0.ebuild61
-rw-r--r--sys-power/cpupower/metadata.xml3
3 files changed, 65 insertions, 0 deletions
diff --git a/sys-power/cpupower/Manifest b/sys-power/cpupower/Manifest
index a9710a8a1116..6b657d1b8f5e 100644
--- a/sys-power/cpupower/Manifest
+++ b/sys-power/cpupower/Manifest
@@ -1,5 +1,6 @@
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 cpupower-4.9.0.tar.xz 67620 SHA256 5e0eda0f31c6c14b0b181d98ad89ead6ea62114635eb29ad288778bbe0c88168 SHA512 67137bd7166a34f131332a5165384ebca5b97deb1c92e6d557195da4be4fecb0c5902159f748ea454461ad2181a778c32b4e4dfd1f8ce7e6a3ec41f553f23677 WHIRLPOOL 73dc80fe4308146efcbc05b3b7290a66d23b6653cde9013b76d230a914b184212f7a0713b82857c882c65a3448febcd08ae4581499cf97bb0e21a5622053c519
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.9.0.ebuild b/sys-power/cpupower/cpupower-4.9.0.ebuild
new file mode 100644
index 000000000000..b4626881b4bc
--- /dev/null
+++ b/sys-power/cpupower/cpupower-4.9.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+# eutils: strip-linguas
+inherit eutils systemd 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/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
+
+ systemd_dounit "${FILESDIR}"/cpupower-frequency-set.service
+ systemd_install_serviced "${FILESDIR}"/cpupower-frequency-set.service.conf
+}
diff --git a/sys-power/cpupower/metadata.xml b/sys-power/cpupower/metadata.xml
index 5931b3bcd91a..470032972666 100644
--- a/sys-power/cpupower/metadata.xml
+++ b/sys-power/cpupower/metadata.xml
@@ -8,4 +8,7 @@
<use>
<flag name="cpufreq_bench">Build and install the cpufreq_bench binary</flag>
</use>
+ <slots>
+ <subslots>Subslots correspond to major version of libcpupower</subslots>
+ </slots>
</pkgmetadata>