summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2007-10-29 19:06:39 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2007-10-29 19:06:39 +0000
commitcc6dd01a9834fbf484d14c8bec766ba0d62854c1 (patch)
tree1d51862226b2c4862e3adfb9b257ea1ae0c96ab0 /sys-power/ncpufreqd
parentStable on x86, bug #197388 (diff)
downloadgentoo-2-cc6dd01a9834fbf484d14c8bec766ba0d62854c1.tar.gz
gentoo-2-cc6dd01a9834fbf484d14c8bec766ba0d62854c1.tar.bz2
gentoo-2-cc6dd01a9834fbf484d14c8bec766ba0d62854c1.zip
Version bump, removed old 2.1.
(Portage version: 2.1.3.16)
Diffstat (limited to 'sys-power/ncpufreqd')
-rw-r--r--sys-power/ncpufreqd/ChangeLog8
-rw-r--r--sys-power/ncpufreqd/files/digest-ncpufreqd-2.13
-rw-r--r--sys-power/ncpufreqd/files/digest-ncpufreqd-2.43
-rw-r--r--sys-power/ncpufreqd/ncpufreqd-2.4.ebuild (renamed from sys-power/ncpufreqd/ncpufreqd-2.1.ebuild)31
4 files changed, 36 insertions, 9 deletions
diff --git a/sys-power/ncpufreqd/ChangeLog b/sys-power/ncpufreqd/ChangeLog
index 9e3929021f80..2f3dce175293 100644
--- a/sys-power/ncpufreqd/ChangeLog
+++ b/sys-power/ncpufreqd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-power/ncpufreqd
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/ncpufreqd/ChangeLog,v 1.15 2007/10/05 14:55:56 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/ncpufreqd/ChangeLog,v 1.16 2007/10/29 19:06:38 nelchael Exp $
+
+*ncpufreqd-2.4 (29 Oct 2007)
+
+ 29 Oct 2007; Krzysiek Pawlik <nelchael@gentoo.org> -ncpufreqd-2.1.ebuild,
+ +ncpufreqd-2.4.ebuild:
+ Version bump, removed old 2.1.
05 Oct 2007; Christian Faulhammer <opfer@gentoo.org> ncpufreqd-2.3.ebuild:
stable x86, bug 194798
diff --git a/sys-power/ncpufreqd/files/digest-ncpufreqd-2.1 b/sys-power/ncpufreqd/files/digest-ncpufreqd-2.1
deleted file mode 100644
index d79b452cdda0..000000000000
--- a/sys-power/ncpufreqd/files/digest-ncpufreqd-2.1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 8e46c898025a109d68ab61d54e6ba381 ncpufreqd-2.1.tar.bz2 64358
-RMD160 f5dbcd15aca95f60933ec5bc1a692e4fda3252ae ncpufreqd-2.1.tar.bz2 64358
-SHA256 875a2eb60952532da71ead7c9c543bda82cdc3ce5cc3fc55f460781fe5fb7d02 ncpufreqd-2.1.tar.bz2 64358
diff --git a/sys-power/ncpufreqd/files/digest-ncpufreqd-2.4 b/sys-power/ncpufreqd/files/digest-ncpufreqd-2.4
new file mode 100644
index 000000000000..f5f8f59ea99d
--- /dev/null
+++ b/sys-power/ncpufreqd/files/digest-ncpufreqd-2.4
@@ -0,0 +1,3 @@
+MD5 2ed47ab04fc8424543d6d8cc712cb9df ncpufreqd-2.4.tar.bz2 19370
+RMD160 f1cfc0b8e395a57f1d6ff69a5c7b790a029b2dc9 ncpufreqd-2.4.tar.bz2 19370
+SHA256 09940a8c980f19de804643f1bdb43a7111e937a9bb8b3cb154d22c212a5860d8 ncpufreqd-2.4.tar.bz2 19370
diff --git a/sys-power/ncpufreqd/ncpufreqd-2.1.ebuild b/sys-power/ncpufreqd/ncpufreqd-2.4.ebuild
index 69484b476a57..a495d4db5766 100644
--- a/sys-power/ncpufreqd/ncpufreqd-2.1.ebuild
+++ b/sys-power/ncpufreqd/ncpufreqd-2.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/ncpufreqd/ncpufreqd-2.1.ebuild,v 1.5 2007/10/05 12:53:06 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/ncpufreqd/ncpufreqd-2.4.ebuild,v 1.1 2007/10/29 19:06:38 nelchael Exp $
DESCRIPTION="Daemon controlling CPU speed and temperature"
HOMEPAGE="http://projects.simpledesigns.com.pl/project/ncpufreqd/"
@@ -8,15 +8,36 @@ SRC_URI="http://projects.simpledesigns.com.pl/get/${P}.tar.bz2"
LICENSE="ZLIB"
SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND="virtual/logger"
+DEPEND="dev-util/cmake
+ virtual/logger"
+
+src_compile() {
+
+ mkdir "${T}/build"
+ cd "${T}/build"
+
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr/ \
+ -DCMAKE_C_FLAGS="${CFLAGS}" \
+ "${S}" || die "cmake failed"
+
+ emake || die "emake failed"
+
+}
src_install() {
+
+ cd "${T}/build"
+
make DESTDIR="${D}" install || die "emake install failed"
- doinitd "${S}"/gentoo-init.d/ncpufreqd
- dodoc AUTHORS ChangeLog NEWS README
+ cd "${S}"
+
+ doinitd gentoo-init.d/ncpufreqd
+ dodoc AUTHORS ChangeLog README
+
}