summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-04-23 01:51:03 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-04-23 01:51:03 +0000
commit3c60875ebeb57140a49752a4a869842875e12c4e (patch)
tree23d7883b0d2253b180c6e558f3e35139997a9b55 /sys-power
parentVersion bump. Initial conf.d and init.d files wrt #453794 by "khayyam" (diff)
downloadgentoo-2-3c60875ebeb57140a49752a4a869842875e12c4e.tar.gz
gentoo-2-3c60875ebeb57140a49752a4a869842875e12c4e.tar.bz2
gentoo-2-3c60875ebeb57140a49752a4a869842875e12c4e.zip
old
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/cpupower/ChangeLog5
-rw-r--r--sys-power/cpupower/cpupower-3.8_rc4.ebuild64
2 files changed, 4 insertions, 65 deletions
diff --git a/sys-power/cpupower/ChangeLog b/sys-power/cpupower/ChangeLog
index 149846d045a9..01c241b20205 100644
--- a/sys-power/cpupower/ChangeLog
+++ b/sys-power/cpupower/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-power/cpupower
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/cpupower/ChangeLog,v 1.4 2013/04/23 01:48:26 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/cpupower/ChangeLog,v 1.5 2013/04/23 01:51:03 ssuominen Exp $
+
+ 23 Apr 2013; Samuli Suominen <ssuominen@gentoo.org> -cpupower-3.8_rc4.ebuild:
+ old
*cpupower-3.8 (23 Apr 2013)
diff --git a/sys-power/cpupower/cpupower-3.8_rc4.ebuild b/sys-power/cpupower/cpupower-3.8_rc4.ebuild
deleted file mode 100644
index a8b1e15d4323..000000000000
--- a/sys-power/cpupower/cpupower-3.8_rc4.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/cpupower/cpupower-3.8_rc4.ebuild,v 1.3 2013/01/24 14:05:03 ssuominen Exp $
-
-EAPI=5
-inherit multilib toolchain-funcs
-
-DESCRIPTION="Shows and sets processor power related values"
-HOMEPAGE="http://www.kernel.org/"
-SRC_URI="mirror://kernel/linux/kernel/v3.0/testing/linux-${PV/_/-}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="cpufreq_bench debug nls"
-
-# cpupower should be a USE flag in linux-misc-apps (ditto for usbip!)
-# but only if the maintainer doesn't agree to drop it completely from
-# there in favour of this one which i'll push to users are replacement
-# for the dead cpufreq tools in tree
-# !sys-apps/linux-misc-apps[cpupower]
-RDEPEND="sys-apps/pciutils
- !sys-apps/linux-misc-apps"
-DEPEND="${RDEPEND}
- virtual/os-headers
- nls? ( sys-devel/gettext )"
-
-S=${WORKDIR}/linux-${PV/_/-}/tools/power/${PN}
-
-pkg_setup() {
- 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
- LDFLAGS="${LDFLAGS}"
- OPTIMIZATION="${CFLAGS}"
- )
-}
-
-src_prepare() {
- # -Wl,--as-needed compat
- local libs="-lcpupower -lrt -lpci"
- sed -i \
- -e "/$libs/{ s,${libs},,g; s,\$, ${libs},g;}" \
- -e "s:-O1 -g::" \
- Makefile || die
-}
-
-src_compile() {
- emake "${myemakeargs[@]}"
-}
-
-src_install() {
- emake DESTDIR="${D}" "${myemakeargs[@]}" install
- dodoc README ToDo
-}