1 |
commit: 40c51b50c9fe8296918a44b5a22596872f03ccde |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 25 22:05:40 2019 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 25 22:10:05 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40c51b50 |
7 |
|
8 |
sys-power/cpupower: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.79_p3, Repoman-2.3.18_p2 |
11 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
12 |
|
13 |
sys-power/cpupower/Manifest | 2 - |
14 |
sys-power/cpupower/cpupower-3.18.ebuild | 71 ----------------------------- |
15 |
sys-power/cpupower/cpupower-4.9.0-r1.ebuild | 61 ------------------------- |
16 |
3 files changed, 134 deletions(-) |
17 |
|
18 |
diff --git a/sys-power/cpupower/Manifest b/sys-power/cpupower/Manifest |
19 |
index a00729bfdc9..eca4716f0bc 100644 |
20 |
--- a/sys-power/cpupower/Manifest |
21 |
+++ b/sys-power/cpupower/Manifest |
22 |
@@ -1,3 +1 @@ |
23 |
DIST cpupower-4.13.0.tar.xz 67812 BLAKE2B 3b94b18bb57b0499a96d57ca26a48f528bf993e0f1ed7eb6d2949c879de8796501629bd0978946eae925d86dd3204a1cab0c99f1c3a8b51731dfbdb61451e990 SHA512 5e7095e2741eae920a097864926931afb2656e492b504f203c40c24ddc5aee5014c7689b220225171b5ea10c69b70774fb2a979d05ea56ef1fa063f3097626c7 |
24 |
-DIST cpupower-4.9.0.tar.xz 67620 BLAKE2B 0aad0114af52b939f83d80ba89be49a061f46a7597ae2e2f27ee6134dbcb425beefd613b0c3f0217003b700cf9b81cd7538575938e9a867138a78eb6a0247f3e SHA512 67137bd7166a34f131332a5165384ebca5b97deb1c92e6d557195da4be4fecb0c5902159f748ea454461ad2181a778c32b4e4dfd1f8ce7e6a3ec41f553f23677 |
25 |
-DIST linux-3.18.tar.xz 80934708 BLAKE2B cf796fa1eb24276470b51bd3754f02932e57c6469e45959893b3714457ba33f0081ff04137990f228e1aae6d42a05073478a3ef932df468af7cd02bf8c8836c4 SHA512 2f0b72466e9bc538a675738aa416573d41bbbd7e3e2ffd5b5b127afde609ebc278cec5a3c37e73479607e957c13f1b4ed9782a3795e0dcc2cf8e550228594009 |
26 |
|
27 |
diff --git a/sys-power/cpupower/cpupower-3.18.ebuild b/sys-power/cpupower/cpupower-3.18.ebuild |
28 |
deleted file mode 100644 |
29 |
index 0dcdb330bbc..00000000000 |
30 |
--- a/sys-power/cpupower/cpupower-3.18.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,71 +0,0 @@ |
33 |
-# Copyright 1999-2017 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=5 |
37 |
-inherit multilib toolchain-funcs |
38 |
- |
39 |
-DESCRIPTION="Shows and sets processor power related values" |
40 |
-HOMEPAGE="https://www.kernel.org/" |
41 |
-SRC_URI="https://www.kernel.org/pub/linux/kernel/v3.x/linux-${PV}.tar.xz" |
42 |
- |
43 |
-LICENSE="GPL-2" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86" |
46 |
-IUSE="cpufreq_bench debug nls" |
47 |
- |
48 |
-# File collision w/ headers of the deprecated cpufrequtils |
49 |
-RDEPEND="sys-apps/pciutils |
50 |
- !<sys-apps/linux-misc-apps-3.6-r2 |
51 |
- !sys-power/cpufrequtils" |
52 |
-DEPEND="${RDEPEND} |
53 |
- virtual/os-headers |
54 |
- virtual/pkgconfig |
55 |
- nls? ( sys-devel/gettext )" |
56 |
- |
57 |
-S=${WORKDIR}/linux-${PV}/tools/power/${PN} |
58 |
- |
59 |
-pkg_setup() { |
60 |
- myemakeargs=( |
61 |
- DEBUG=$(usex debug true false) |
62 |
- V=1 |
63 |
- CPUFREQ_BENCH=$(usex cpufreq_bench true false) |
64 |
- NLS=$(usex nls true false) |
65 |
- docdir=/usr/share/doc/${PF}/${PN} |
66 |
- mandir=/usr/share/man |
67 |
- libdir=/usr/$(get_libdir) |
68 |
- AR="$(tc-getAR)" |
69 |
- CC="$(tc-getCC)" |
70 |
- LD="$(tc-getCC)" |
71 |
- STRIP=true |
72 |
- LDFLAGS="${LDFLAGS}" |
73 |
- OPTIMIZATION="${CFLAGS}" |
74 |
- ) |
75 |
-} |
76 |
- |
77 |
-src_unpack() { |
78 |
- tar -xf "${DISTDIR}"/linux-${PV}.tar.xz \ |
79 |
- linux-${PV}/tools/power/${PN} \ |
80 |
- linux-${PV}/Makefile \ |
81 |
- || die |
82 |
-} |
83 |
- |
84 |
-src_prepare() { |
85 |
- # -Wl,--as-needed compat |
86 |
- local libs="-lcpupower -lrt $($(tc-getPKG_CONFIG) --libs-only-l libpci)" |
87 |
- sed -i \ |
88 |
- -e "/$libs/{ s,${libs},,g; s,\$, ${libs},g;}" \ |
89 |
- -e "s:-O1 -g::" \ |
90 |
- Makefile || die |
91 |
-} |
92 |
- |
93 |
-src_compile() { |
94 |
- emake "${myemakeargs[@]}" |
95 |
-} |
96 |
- |
97 |
-src_install() { |
98 |
- emake DESTDIR="${D}" "${myemakeargs[@]}" install |
99 |
- dodoc README ToDo |
100 |
- |
101 |
- newconfd "${FILESDIR}"/conf.d-r2 ${PN} |
102 |
- newinitd "${FILESDIR}"/init.d-r4 ${PN} |
103 |
-} |
104 |
|
105 |
diff --git a/sys-power/cpupower/cpupower-4.9.0-r1.ebuild b/sys-power/cpupower/cpupower-4.9.0-r1.ebuild |
106 |
deleted file mode 100644 |
107 |
index 308a7d815fe..00000000000 |
108 |
--- a/sys-power/cpupower/cpupower-4.9.0-r1.ebuild |
109 |
+++ /dev/null |
110 |
@@ -1,61 +0,0 @@ |
111 |
-# Copyright 1999-2017 Gentoo Foundation |
112 |
-# Distributed under the terms of the GNU General Public License v2 |
113 |
- |
114 |
-EAPI=6 |
115 |
- |
116 |
-# eutils: strip-linguas |
117 |
-inherit eutils systemd toolchain-funcs |
118 |
- |
119 |
-DESCRIPTION="Shows and sets processor power related values" |
120 |
-HOMEPAGE="https://www.kernel.org/" |
121 |
-SRC_URI="https://dev.gentoo.org/~floppym/dist/${P}.tar.xz" |
122 |
- |
123 |
-LICENSE="GPL-2" |
124 |
-SLOT="0/0" |
125 |
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 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 |
- nls? ( sys-devel/gettext )" |
135 |
- |
136 |
-src_compile() { |
137 |
- myemakeargs=( |
138 |
- DEBUG=$(usex debug true false) |
139 |
- V=1 |
140 |
- CPUFREQ_BENCH=$(usex cpufreq_bench true false) |
141 |
- NLS=$(usex nls true false) |
142 |
- docdir=/usr/share/doc/${PF}/${PN} |
143 |
- mandir=/usr/share/man |
144 |
- libdir=/usr/$(get_libdir) |
145 |
- AR="$(tc-getAR)" |
146 |
- CC="$(tc-getCC)" |
147 |
- LD="$(tc-getCC)" |
148 |
- STRIP=true |
149 |
- OPTIMIZATION= |
150 |
- VERSION=${PV} |
151 |
- ) |
152 |
- |
153 |
- if [[ -n ${LINGUAS+set} ]]; then |
154 |
- strip-linguas -i po |
155 |
- myemakeargs+=( LANGUAGES="${LINGUAS}" ) |
156 |
- fi |
157 |
- |
158 |
- emake "${myemakeargs[@]}" |
159 |
-} |
160 |
- |
161 |
-src_install() { |
162 |
- emake DESTDIR="${D}" "${myemakeargs[@]}" install |
163 |
- doheader lib/cpupower.h |
164 |
- dodoc README ToDo |
165 |
- |
166 |
- newconfd "${FILESDIR}"/conf.d-r2 cpupower |
167 |
- newinitd "${FILESDIR}"/init.d-r4 cpupower |
168 |
- |
169 |
- systemd_dounit "${FILESDIR}"/cpupower-frequency-set.service |
170 |
- systemd_install_serviced "${FILESDIR}"/cpupower-frequency-set.service.conf |
171 |
-} |