Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/cpupower/
Date: Mon, 11 Sep 2017 03:08:50
Message-Id: 1505099309.76453498956bf1f200788e53b2cb4d0dd351ea9b.floppym@gentoo
1 commit: 76453498956bf1f200788e53b2cb4d0dd351ea9b
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 11 03:08:29 2017 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 11 03:08:29 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76453498
7
8 sys-power/cpupower: remove old
9
10 Package-Manager: Portage-2.3.6_p60, Repoman-2.3.3_p38
11
12 sys-power/cpupower/Manifest | 7 ---
13 sys-power/cpupower/cpupower-3.13.ebuild | 64 --------------------------
14 sys-power/cpupower/cpupower-3.14.ebuild | 64 --------------------------
15 sys-power/cpupower/cpupower-3.15.ebuild | 71 -----------------------------
16 sys-power/cpupower/cpupower-3.18.ebuild | 71 -----------------------------
17 sys-power/cpupower/cpupower-4.2.ebuild | 57 -----------------------
18 sys-power/cpupower/cpupower-4.5.0-r1.ebuild | 60 ------------------------
19 sys-power/cpupower/cpupower-4.7.0-r1.ebuild | 60 ------------------------
20 8 files changed, 454 deletions(-)
21
22 diff --git a/sys-power/cpupower/Manifest b/sys-power/cpupower/Manifest
23 index 6b657d1b8f5..722c70c0fb6 100644
24 --- a/sys-power/cpupower/Manifest
25 +++ b/sys-power/cpupower/Manifest
26 @@ -1,8 +1 @@
27 -DIST cpupower-4.5.0.tar.xz 67592 SHA256 cc9e0bc333673f2be3eeb06ccb8465dfa0a3c274da88350d5d40249594a37283 SHA512 274b17d0f00d7f8f409b9f6e73867494cd2d65536c839640f953617c8f5f6cee8c157807b10eaffe38188e6e7d9962a94034e19e04a9a1743600191dff4de46e WHIRLPOOL 41725120c916ea85aa56e417e15f90699657f709de7d3e64e232cbc84a5df8f6ff0018fa48be2ac1cddd2d5b9e437c74fb66b5c80733ba5d4e60a68649c95359
28 -DIST cpupower-4.7.0.tar.xz 67592 SHA256 643b96683effff7f8688eed1d2ab1156efeac78cb988226eda44535b77eeac98 SHA512 0c5976ca188b713ee4362db884891108a4cfee6fb0fb27a080edd38f8cdc6f6c76eca8b6a92b312d0443e703013dd7f6df3756b5fc7215bc95cd5a904bb62e21 WHIRLPOOL ad9844e4166e680bbb39e70f3bb54b0b6545040f9349e70ec6ae75026206fd39991891b6cf38b295e40d987a5ef288e0262f441a7a9450a4c099a35cb1f6e93f
29 DIST cpupower-4.9.0.tar.xz 67620 SHA256 5e0eda0f31c6c14b0b181d98ad89ead6ea62114635eb29ad288778bbe0c88168 SHA512 67137bd7166a34f131332a5165384ebca5b97deb1c92e6d557195da4be4fecb0c5902159f748ea454461ad2181a778c32b4e4dfd1f8ce7e6a3ec41f553f23677 WHIRLPOOL 73dc80fe4308146efcbc05b3b7290a66d23b6653cde9013b76d230a914b184212f7a0713b82857c882c65a3448febcd08ae4581499cf97bb0e21a5622053c519
30 -DIST linux-3.13.tar.xz 77187032 SHA256 4d5e5eee5f276424c32e9591f1b6c971baedc7b49f28ce03d1f48b1e5d6226a2 SHA512 1ba223bb4b885d691a67196d86a8aaf7b4a1c351bf2a762f50f1b0c32da00dd0c28895872a66b49e8d244498d996876609268e64861d28ac4048886ef9f79b87 WHIRLPOOL 2992257a17e85b3eb16fcaf21678fa6dbf31f80c2099fd1ad0ff9852ac1d16122ac8e2c0b46421d8895d4368253a724e439cd625307ee7af7bd1e50cb2c9b62a
31 -DIST linux-3.14.tar.xz 78399152 SHA256 61558aa490855f42b6340d1a1596be47454909629327c49a5e4e10268065dffa SHA512 5730d83a7a81134c1e77c0bf89e42dee4f8251ad56c1ac2be20c59e26fdfaa7bea55f277e7af156b637f22e1584914a46089af85039177cb43485089c74ac26e WHIRLPOOL 5ad07b78c362ba0b21c50b4abb99407cae06bd08576f3fd8f36047b01409eba096263208020da3dcad4977eefc61d66502276754097bc127635df1d7a5817d41
32 -DIST linux-3.15.tar.xz 79676484 SHA256 c3927e87be4040fa8aca1b58663dc0776aaf00485604ff88a623be2f3fb07794 SHA512 d5dc477cad4584e56e2e2ef9e0950c2b22e76e5cf5090a896ba099cb7c5e5db1853a4aeb96b199189653dc66d461557e95198e37516a619f7ddc01ba6b308e02 WHIRLPOOL 7f3dfde1a23aab75b7f40770ae2ca77c1b28f845e4abe6296b2aec9b56fe94f7afa76b00eb6cc7475305c31b726ebeb4643107dd48c12ac04c933cf1856b8e77
33 -DIST linux-3.18.tar.xz 80934708 SHA256 becc413cc9e6d7f5cc52a3ce66d65c3725bc1d1cc1001f4ce6c32b69eb188cbd SHA512 2f0b72466e9bc538a675738aa416573d41bbbd7e3e2ffd5b5b127afde609ebc278cec5a3c37e73479607e957c13f1b4ed9782a3795e0dcc2cf8e550228594009 WHIRLPOOL 81634af631b7d30ccd1f4798f96f44d9aa0ba6609b73f2747eb6aebaf7a99487fb2dbd45767605186182533cb222bfd9236e8dd5e11a04fdb67c211e4e0a91d6
34 -DIST linux-4.2.tar.xz 85507784 SHA256 cf20e044f17588d2a42c8f2a450b0fd84dfdbd579b489d93e9ab7d0e8b45dbeb SHA512 a87bbce3c0c6d810a41bbba1c0dcaae80dc38dded9f8571e97fa4ee5a468d655daf52d260911412f7c7da3171a5114e89d63da14b1753b9a3eb2cc38fd89b9ee WHIRLPOOL 2058e664ee287cc03119ff3dd0155b7018b9c789a13a1012f190e516172f845dcb2d977c8e6a6951e9bd720e5e8cdfa3b888cce392c9b02780520e77475870d0
35
36 diff --git a/sys-power/cpupower/cpupower-3.13.ebuild b/sys-power/cpupower/cpupower-3.13.ebuild
37 deleted file mode 100644
38 index 3bf81147a0e..00000000000
39 --- a/sys-power/cpupower/cpupower-3.13.ebuild
40 +++ /dev/null
41 @@ -1,64 +0,0 @@
42 -# Copyright 1999-2014 Gentoo Foundation
43 -# Distributed under the terms of the GNU General Public License v2
44 -
45 -EAPI=5
46 -inherit multilib toolchain-funcs
47 -
48 -DESCRIPTION="Shows and sets processor power related values"
49 -HOMEPAGE="https://www.kernel.org/"
50 -SRC_URI="mirror://kernel/linux/kernel/v3.x/linux-${PV}.tar.xz"
51 -
52 -LICENSE="GPL-2"
53 -SLOT="0"
54 -KEYWORDS="amd64 x86"
55 -IUSE="cpufreq_bench debug nls"
56 -
57 -# File collision w/ headers of the deprecated cpufrequtils
58 -RDEPEND="sys-apps/pciutils
59 - !<sys-apps/linux-misc-apps-3.6-r2
60 - !sys-power/cpufrequtils"
61 -DEPEND="${RDEPEND}
62 - virtual/os-headers
63 - virtual/pkgconfig
64 - nls? ( sys-devel/gettext )"
65 -
66 -S=${WORKDIR}/linux-${PV}/tools/power/${PN}
67 -
68 -pkg_setup() {
69 - myemakeargs=(
70 - DEBUG=$(usex debug true false)
71 - V=1
72 - CPUFREQ_BENCH=$(usex cpufreq_bench true false)
73 - NLS=$(usex nls true false)
74 - docdir=/usr/share/doc/${PF}/${PN}
75 - mandir=/usr/share/man
76 - libdir=/usr/$(get_libdir)
77 - AR="$(tc-getAR)"
78 - CC="$(tc-getCC)"
79 - LD="$(tc-getCC)"
80 - STRIP=true
81 - LDFLAGS="${LDFLAGS}"
82 - OPTIMIZATION="${CFLAGS}"
83 - )
84 -}
85 -
86 -src_prepare() {
87 - # -Wl,--as-needed compat
88 - local libs="-lcpupower -lrt $($(tc-getPKG_CONFIG) --libs-only-l libpci)"
89 - sed -i \
90 - -e "/$libs/{ s,${libs},,g; s,\$, ${libs},g;}" \
91 - -e "s:-O1 -g::" \
92 - Makefile || die
93 -}
94 -
95 -src_compile() {
96 - emake "${myemakeargs[@]}"
97 -}
98 -
99 -src_install() {
100 - emake DESTDIR="${D}" "${myemakeargs[@]}" install
101 - dodoc README ToDo
102 -
103 - newconfd "${FILESDIR}"/conf.d-r2 ${PN}
104 - newinitd "${FILESDIR}"/init.d-r4 ${PN}
105 -}
106
107 diff --git a/sys-power/cpupower/cpupower-3.14.ebuild b/sys-power/cpupower/cpupower-3.14.ebuild
108 deleted file mode 100644
109 index 719bf4756cd..00000000000
110 --- a/sys-power/cpupower/cpupower-3.14.ebuild
111 +++ /dev/null
112 @@ -1,64 +0,0 @@
113 -# Copyright 1999-2014 Gentoo Foundation
114 -# Distributed under the terms of the GNU General Public License v2
115 -
116 -EAPI=5
117 -inherit multilib toolchain-funcs
118 -
119 -DESCRIPTION="Shows and sets processor power related values"
120 -HOMEPAGE="https://www.kernel.org/"
121 -SRC_URI="mirror://kernel/linux/kernel/v3.x/linux-${PV}.tar.xz"
122 -
123 -LICENSE="GPL-2"
124 -SLOT="0"
125 -KEYWORDS="~amd64 ~arm ~x86"
126 -IUSE="cpufreq_bench debug nls"
127 -
128 -# File collision w/ headers of the deprecated cpufrequtils
129 -RDEPEND="sys-apps/pciutils
130 - !<sys-apps/linux-misc-apps-3.6-r2
131 - !sys-power/cpufrequtils"
132 -DEPEND="${RDEPEND}
133 - virtual/os-headers
134 - virtual/pkgconfig
135 - nls? ( sys-devel/gettext )"
136 -
137 -S=${WORKDIR}/linux-${PV}/tools/power/${PN}
138 -
139 -pkg_setup() {
140 - myemakeargs=(
141 - DEBUG=$(usex debug true false)
142 - V=1
143 - CPUFREQ_BENCH=$(usex cpufreq_bench true false)
144 - NLS=$(usex nls true false)
145 - docdir=/usr/share/doc/${PF}/${PN}
146 - mandir=/usr/share/man
147 - libdir=/usr/$(get_libdir)
148 - AR="$(tc-getAR)"
149 - CC="$(tc-getCC)"
150 - LD="$(tc-getCC)"
151 - STRIP=true
152 - LDFLAGS="${LDFLAGS}"
153 - OPTIMIZATION="${CFLAGS}"
154 - )
155 -}
156 -
157 -src_prepare() {
158 - # -Wl,--as-needed compat
159 - local libs="-lcpupower -lrt $($(tc-getPKG_CONFIG) --libs-only-l libpci)"
160 - sed -i \
161 - -e "/$libs/{ s,${libs},,g; s,\$, ${libs},g;}" \
162 - -e "s:-O1 -g::" \
163 - Makefile || die
164 -}
165 -
166 -src_compile() {
167 - emake "${myemakeargs[@]}"
168 -}
169 -
170 -src_install() {
171 - emake DESTDIR="${D}" "${myemakeargs[@]}" install
172 - dodoc README ToDo
173 -
174 - newconfd "${FILESDIR}"/conf.d-r2 ${PN}
175 - newinitd "${FILESDIR}"/init.d-r4 ${PN}
176 -}
177
178 diff --git a/sys-power/cpupower/cpupower-3.15.ebuild b/sys-power/cpupower/cpupower-3.15.ebuild
179 deleted file mode 100644
180 index cafc148fb13..00000000000
181 --- a/sys-power/cpupower/cpupower-3.15.ebuild
182 +++ /dev/null
183 @@ -1,71 +0,0 @@
184 -# Copyright 1999-2014 Gentoo Foundation
185 -# Distributed under the terms of the GNU General Public License v2
186 -
187 -EAPI=5
188 -inherit multilib toolchain-funcs
189 -
190 -DESCRIPTION="Shows and sets processor power related values"
191 -HOMEPAGE="https://www.kernel.org/"
192 -SRC_URI="mirror://kernel/linux/kernel/v3.x/linux-${PV}.tar.xz"
193 -
194 -LICENSE="GPL-2"
195 -SLOT="0"
196 -KEYWORDS="~amd64 ~arm ~x86"
197 -IUSE="cpufreq_bench debug nls"
198 -
199 -# File collision w/ headers of the deprecated cpufrequtils
200 -RDEPEND="sys-apps/pciutils
201 - !<sys-apps/linux-misc-apps-3.6-r2
202 - !sys-power/cpufrequtils"
203 -DEPEND="${RDEPEND}
204 - virtual/os-headers
205 - virtual/pkgconfig
206 - nls? ( sys-devel/gettext )"
207 -
208 -S=${WORKDIR}/linux-${PV}/tools/power/${PN}
209 -
210 -pkg_setup() {
211 - myemakeargs=(
212 - DEBUG=$(usex debug true false)
213 - V=1
214 - CPUFREQ_BENCH=$(usex cpufreq_bench true false)
215 - NLS=$(usex nls true false)
216 - docdir=/usr/share/doc/${PF}/${PN}
217 - mandir=/usr/share/man
218 - libdir=/usr/$(get_libdir)
219 - AR="$(tc-getAR)"
220 - CC="$(tc-getCC)"
221 - LD="$(tc-getCC)"
222 - STRIP=true
223 - LDFLAGS="${LDFLAGS}"
224 - OPTIMIZATION="${CFLAGS}"
225 - )
226 -}
227 -
228 -src_unpack() {
229 - tar -xf "${DISTDIR}"/linux-${PV}.tar.xz \
230 - linux-${PV}/tools/power/${PN} \
231 - linux-${PV}/Makefile \
232 - || die
233 -}
234 -
235 -src_prepare() {
236 - # -Wl,--as-needed compat
237 - local libs="-lcpupower -lrt $($(tc-getPKG_CONFIG) --libs-only-l libpci)"
238 - sed -i \
239 - -e "/$libs/{ s,${libs},,g; s,\$, ${libs},g;}" \
240 - -e "s:-O1 -g::" \
241 - Makefile || die
242 -}
243 -
244 -src_compile() {
245 - emake "${myemakeargs[@]}"
246 -}
247 -
248 -src_install() {
249 - emake DESTDIR="${D}" "${myemakeargs[@]}" install
250 - dodoc README ToDo
251 -
252 - newconfd "${FILESDIR}"/conf.d-r2 ${PN}
253 - newinitd "${FILESDIR}"/init.d-r4 ${PN}
254 -}
255
256 diff --git a/sys-power/cpupower/cpupower-3.18.ebuild b/sys-power/cpupower/cpupower-3.18.ebuild
257 deleted file mode 100644
258 index f31459e9356..00000000000
259 --- a/sys-power/cpupower/cpupower-3.18.ebuild
260 +++ /dev/null
261 @@ -1,71 +0,0 @@
262 -# Copyright 1999-2014 Gentoo Foundation
263 -# Distributed under the terms of the GNU General Public License v2
264 -
265 -EAPI=5
266 -inherit multilib toolchain-funcs
267 -
268 -DESCRIPTION="Shows and sets processor power related values"
269 -HOMEPAGE="https://www.kernel.org/"
270 -SRC_URI="mirror://kernel/linux/kernel/v3.x/linux-${PV}.tar.xz"
271 -
272 -LICENSE="GPL-2"
273 -SLOT="0"
274 -KEYWORDS="amd64 ~arm x86"
275 -IUSE="cpufreq_bench debug nls"
276 -
277 -# File collision w/ headers of the deprecated cpufrequtils
278 -RDEPEND="sys-apps/pciutils
279 - !<sys-apps/linux-misc-apps-3.6-r2
280 - !sys-power/cpufrequtils"
281 -DEPEND="${RDEPEND}
282 - virtual/os-headers
283 - virtual/pkgconfig
284 - nls? ( sys-devel/gettext )"
285 -
286 -S=${WORKDIR}/linux-${PV}/tools/power/${PN}
287 -
288 -pkg_setup() {
289 - myemakeargs=(
290 - DEBUG=$(usex debug true false)
291 - V=1
292 - CPUFREQ_BENCH=$(usex cpufreq_bench true false)
293 - NLS=$(usex nls true false)
294 - docdir=/usr/share/doc/${PF}/${PN}
295 - mandir=/usr/share/man
296 - libdir=/usr/$(get_libdir)
297 - AR="$(tc-getAR)"
298 - CC="$(tc-getCC)"
299 - LD="$(tc-getCC)"
300 - STRIP=true
301 - LDFLAGS="${LDFLAGS}"
302 - OPTIMIZATION="${CFLAGS}"
303 - )
304 -}
305 -
306 -src_unpack() {
307 - tar -xf "${DISTDIR}"/linux-${PV}.tar.xz \
308 - linux-${PV}/tools/power/${PN} \
309 - linux-${PV}/Makefile \
310 - || die
311 -}
312 -
313 -src_prepare() {
314 - # -Wl,--as-needed compat
315 - local libs="-lcpupower -lrt $($(tc-getPKG_CONFIG) --libs-only-l libpci)"
316 - sed -i \
317 - -e "/$libs/{ s,${libs},,g; s,\$, ${libs},g;}" \
318 - -e "s:-O1 -g::" \
319 - Makefile || die
320 -}
321 -
322 -src_compile() {
323 - emake "${myemakeargs[@]}"
324 -}
325 -
326 -src_install() {
327 - emake DESTDIR="${D}" "${myemakeargs[@]}" install
328 - dodoc README ToDo
329 -
330 - newconfd "${FILESDIR}"/conf.d-r2 ${PN}
331 - newinitd "${FILESDIR}"/init.d-r4 ${PN}
332 -}
333
334 diff --git a/sys-power/cpupower/cpupower-4.2.ebuild b/sys-power/cpupower/cpupower-4.2.ebuild
335 deleted file mode 100644
336 index 30e74a490a6..00000000000
337 --- a/sys-power/cpupower/cpupower-4.2.ebuild
338 +++ /dev/null
339 @@ -1,57 +0,0 @@
340 -# Copyright 1999-2016 Gentoo Foundation
341 -# Distributed under the terms of the GNU General Public License v2
342 -
343 -EAPI=5
344 -inherit eutils multilib toolchain-funcs
345 -
346 -DESCRIPTION="Shows and sets processor power related values"
347 -HOMEPAGE="https://www.kernel.org/"
348 -SRC_URI="mirror://kernel/linux/kernel/v${PV%%.*}.x/linux-${PV}.tar.xz"
349 -
350 -LICENSE="GPL-2"
351 -SLOT="0"
352 -KEYWORDS="~amd64 ~arm ~x86"
353 -IUSE="cpufreq_bench debug nls"
354 -
355 -# File collision w/ headers of the deprecated cpufrequtils
356 -RDEPEND="sys-apps/pciutils
357 - !<sys-apps/linux-misc-apps-3.6-r2
358 - !sys-power/cpufrequtils"
359 -DEPEND="${RDEPEND}
360 - virtual/os-headers
361 - nls? ( sys-devel/gettext )"
362 -
363 -S=${WORKDIR}/linux-${PV}/tools/power/${PN}
364 -
365 -src_compile() {
366 - myemakeargs=(
367 - DEBUG=$(usex debug true false)
368 - V=1
369 - CPUFREQ_BENCH=$(usex cpufreq_bench true false)
370 - NLS=$(usex nls true false)
371 - docdir=/usr/share/doc/${PF}/${PN}
372 - mandir=/usr/share/man
373 - libdir=/usr/$(get_libdir)
374 - AR="$(tc-getAR)"
375 - CC="$(tc-getCC)"
376 - LD="$(tc-getCC)"
377 - STRIP=true
378 - LDFLAGS="${LDFLAGS}"
379 - OPTIMIZATION="${CFLAGS}"
380 - )
381 -
382 - if [[ -n ${LINGUAS+set} ]]; then
383 - strip-linguas -i po
384 - myemakeargs+=( LANGUAGES="${LINGUAS}" )
385 - fi
386 -
387 - emake "${myemakeargs[@]}"
388 -}
389 -
390 -src_install() {
391 - emake DESTDIR="${D}" "${myemakeargs[@]}" install
392 - dodoc README ToDo
393 -
394 - newconfd "${FILESDIR}"/conf.d-r2 ${PN}
395 - newinitd "${FILESDIR}"/init.d-r4 ${PN}
396 -}
397
398 diff --git a/sys-power/cpupower/cpupower-4.5.0-r1.ebuild b/sys-power/cpupower/cpupower-4.5.0-r1.ebuild
399 deleted file mode 100644
400 index 2db4d629a35..00000000000
401 --- a/sys-power/cpupower/cpupower-4.5.0-r1.ebuild
402 +++ /dev/null
403 @@ -1,60 +0,0 @@
404 -# Copyright 1999-2016 Gentoo Foundation
405 -# Distributed under the terms of the GNU General Public License v2
406 -
407 -EAPI=6
408 -
409 -# eutils: strip-linguas
410 -inherit eutils systemd toolchain-funcs
411 -
412 -DESCRIPTION="Shows and sets processor power related values"
413 -HOMEPAGE="https://www.kernel.org/"
414 -SRC_URI="https://dev.gentoo.org/~floppym/dist/${P}.tar.xz"
415 -
416 -LICENSE="GPL-2"
417 -SLOT="0"
418 -KEYWORDS="~amd64 ~arm ~x86"
419 -IUSE="cpufreq_bench debug nls"
420 -
421 -# File collision w/ headers of the deprecated cpufrequtils
422 -RDEPEND="sys-apps/pciutils
423 - !<sys-apps/linux-misc-apps-3.6-r2
424 - !sys-power/cpufrequtils"
425 -DEPEND="${RDEPEND}
426 - virtual/os-headers
427 - nls? ( sys-devel/gettext )"
428 -
429 -src_compile() {
430 - myemakeargs=(
431 - DEBUG=$(usex debug true false)
432 - V=1
433 - CPUFREQ_BENCH=$(usex cpufreq_bench true false)
434 - NLS=$(usex nls true false)
435 - docdir=/usr/share/doc/${PF}/${PN}
436 - mandir=/usr/share/man
437 - libdir=/usr/$(get_libdir)
438 - AR="$(tc-getAR)"
439 - CC="$(tc-getCC)"
440 - LD="$(tc-getCC)"
441 - STRIP=true
442 - OPTIMIZATION=
443 - VERSION=${PV}
444 - )
445 -
446 - if [[ -n ${LINGUAS+set} ]]; then
447 - strip-linguas -i po
448 - myemakeargs+=( LANGUAGES="${LINGUAS}" )
449 - fi
450 -
451 - emake "${myemakeargs[@]}"
452 -}
453 -
454 -src_install() {
455 - emake DESTDIR="${D}" "${myemakeargs[@]}" install
456 - dodoc README ToDo
457 -
458 - newconfd "${FILESDIR}"/conf.d-r2 cpupower
459 - newinitd "${FILESDIR}"/init.d-r4 cpupower
460 -
461 - systemd_dounit "${FILESDIR}"/cpupower-frequency-set.service
462 - systemd_install_serviced "${FILESDIR}"/cpupower-frequency-set.service.conf
463 -}
464
465 diff --git a/sys-power/cpupower/cpupower-4.7.0-r1.ebuild b/sys-power/cpupower/cpupower-4.7.0-r1.ebuild
466 deleted file mode 100644
467 index 2db4d629a35..00000000000
468 --- a/sys-power/cpupower/cpupower-4.7.0-r1.ebuild
469 +++ /dev/null
470 @@ -1,60 +0,0 @@
471 -# Copyright 1999-2016 Gentoo Foundation
472 -# Distributed under the terms of the GNU General Public License v2
473 -
474 -EAPI=6
475 -
476 -# eutils: strip-linguas
477 -inherit eutils systemd toolchain-funcs
478 -
479 -DESCRIPTION="Shows and sets processor power related values"
480 -HOMEPAGE="https://www.kernel.org/"
481 -SRC_URI="https://dev.gentoo.org/~floppym/dist/${P}.tar.xz"
482 -
483 -LICENSE="GPL-2"
484 -SLOT="0"
485 -KEYWORDS="~amd64 ~arm ~x86"
486 -IUSE="cpufreq_bench debug nls"
487 -
488 -# File collision w/ headers of the deprecated cpufrequtils
489 -RDEPEND="sys-apps/pciutils
490 - !<sys-apps/linux-misc-apps-3.6-r2
491 - !sys-power/cpufrequtils"
492 -DEPEND="${RDEPEND}
493 - virtual/os-headers
494 - nls? ( sys-devel/gettext )"
495 -
496 -src_compile() {
497 - myemakeargs=(
498 - DEBUG=$(usex debug true false)
499 - V=1
500 - CPUFREQ_BENCH=$(usex cpufreq_bench true false)
501 - NLS=$(usex nls true false)
502 - docdir=/usr/share/doc/${PF}/${PN}
503 - mandir=/usr/share/man
504 - libdir=/usr/$(get_libdir)
505 - AR="$(tc-getAR)"
506 - CC="$(tc-getCC)"
507 - LD="$(tc-getCC)"
508 - STRIP=true
509 - OPTIMIZATION=
510 - VERSION=${PV}
511 - )
512 -
513 - if [[ -n ${LINGUAS+set} ]]; then
514 - strip-linguas -i po
515 - myemakeargs+=( LANGUAGES="${LINGUAS}" )
516 - fi
517 -
518 - emake "${myemakeargs[@]}"
519 -}
520 -
521 -src_install() {
522 - emake DESTDIR="${D}" "${myemakeargs[@]}" install
523 - dodoc README ToDo
524 -
525 - newconfd "${FILESDIR}"/conf.d-r2 cpupower
526 - newinitd "${FILESDIR}"/init.d-r4 cpupower
527 -
528 - systemd_dounit "${FILESDIR}"/cpupower-frequency-set.service
529 - systemd_install_serviced "${FILESDIR}"/cpupower-frequency-set.service.conf
530 -}