1 |
patrick 14/12/29 06:03:55 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cpupower-3.18.ebuild |
5 |
Log: |
6 |
Bump |
7 |
|
8 |
(Portage version: 2.2.15/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.21 sys-power/cpupower/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/cpupower/ChangeLog?rev=1.21&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/cpupower/ChangeLog?rev=1.21&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/cpupower/ChangeLog?r1=1.20&r2=1.21 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-power/cpupower/ChangeLog,v |
20 |
retrieving revision 1.20 |
21 |
retrieving revision 1.21 |
22 |
diff -u -r1.20 -r1.21 |
23 |
--- ChangeLog 15 Jul 2014 05:33:30 -0000 1.20 |
24 |
+++ ChangeLog 29 Dec 2014 06:03:55 -0000 1.21 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-power/cpupower |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-power/cpupower/ChangeLog,v 1.20 2014/07/15 05:33:30 ssuominen Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-power/cpupower/ChangeLog,v 1.21 2014/12/29 06:03:55 patrick Exp $ |
30 |
+ |
31 |
+*cpupower-3.18 (29 Dec 2014) |
32 |
+ |
33 |
+ 29 Dec 2014; Patrick Lauer <patrick@g.o> +cpupower-3.18.ebuild: |
34 |
+ Bump |
35 |
|
36 |
15 Jul 2014; Samuli Suominen <ssuominen@g.o> cpupower-3.15.ebuild: |
37 |
Optimize unpacking wrt #517104 by Ben Kohler |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-power/cpupower/cpupower-3.18.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/cpupower/cpupower-3.18.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/cpupower/cpupower-3.18.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: cpupower-3.18.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-power/cpupower/cpupower-3.18.ebuild,v 1.1 2014/12/29 06:03:55 patrick Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
inherit multilib toolchain-funcs |
54 |
|
55 |
DESCRIPTION="Shows and sets processor power related values" |
56 |
HOMEPAGE="http://www.kernel.org/" |
57 |
SRC_URI="mirror://kernel/linux/kernel/v3.x/linux-${PV}.tar.xz" |
58 |
|
59 |
LICENSE="GPL-2" |
60 |
SLOT="0" |
61 |
KEYWORDS="~amd64 ~arm ~x86" |
62 |
IUSE="cpufreq_bench debug nls" |
63 |
|
64 |
# File collision w/ headers of the deprecated cpufrequtils |
65 |
RDEPEND="sys-apps/pciutils |
66 |
!<sys-apps/linux-misc-apps-3.6-r2 |
67 |
!sys-power/cpufrequtils" |
68 |
DEPEND="${RDEPEND} |
69 |
virtual/os-headers |
70 |
virtual/pkgconfig |
71 |
nls? ( sys-devel/gettext )" |
72 |
|
73 |
S=${WORKDIR}/linux-${PV}/tools/power/${PN} |
74 |
|
75 |
pkg_setup() { |
76 |
myemakeargs=( |
77 |
DEBUG=$(usex debug true false) |
78 |
V=1 |
79 |
CPUFREQ_BENCH=$(usex cpufreq_bench true false) |
80 |
NLS=$(usex nls true false) |
81 |
docdir=/usr/share/doc/${PF}/${PN} |
82 |
mandir=/usr/share/man |
83 |
libdir=/usr/$(get_libdir) |
84 |
AR="$(tc-getAR)" |
85 |
CC="$(tc-getCC)" |
86 |
LD="$(tc-getCC)" |
87 |
STRIP=true |
88 |
LDFLAGS="${LDFLAGS}" |
89 |
OPTIMIZATION="${CFLAGS}" |
90 |
) |
91 |
} |
92 |
|
93 |
src_unpack() { |
94 |
tar -xf "${DISTDIR}"/linux-${PV}.tar.xz \ |
95 |
linux-${PV}/tools/power/${PN} \ |
96 |
linux-${PV}/Makefile \ |
97 |
|| die |
98 |
} |
99 |
|
100 |
src_prepare() { |
101 |
# -Wl,--as-needed compat |
102 |
local libs="-lcpupower -lrt $($(tc-getPKG_CONFIG) --libs-only-l libpci)" |
103 |
sed -i \ |
104 |
-e "/$libs/{ s,${libs},,g; s,\$, ${libs},g;}" \ |
105 |
-e "s:-O1 -g::" \ |
106 |
Makefile || die |
107 |
} |
108 |
|
109 |
src_compile() { |
110 |
emake "${myemakeargs[@]}" |
111 |
} |
112 |
|
113 |
src_install() { |
114 |
emake DESTDIR="${D}" "${myemakeargs[@]}" install |
115 |
dodoc README ToDo |
116 |
|
117 |
newconfd "${FILESDIR}"/conf.d-r2 ${PN} |
118 |
newinitd "${FILESDIR}"/init.d-r4 ${PN} |
119 |
} |