summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2010-04-10 23:55:30 +0000
committerMichael Weber <xmw@gentoo.org>2010-04-10 23:55:30 +0000
commitef79ccd3db031b8ea34c72f743571ebfbad634c2 (patch)
treed20faf38ff50b30e5c445c697a7c61921e461c59 /sys-power
parentx11-plugins/pidgin-sendscreenshot: Version bump (diff)
downloadsunrise-ef79ccd3db031b8ea34c72f743571ebfbad634c2.tar.gz
sunrise-ef79ccd3db031b8ea34c72f743571ebfbad634c2.tar.bz2
sunrise-ef79ccd3db031b8ea34c72f743571ebfbad634c2.zip
sys-power/phc-k8: New Ebuild for bug 283472, AMD K8 kernel module
svn path=/sunrise/; revision=10432
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/phc-k8/ChangeLog8
-rw-r--r--sys-power/phc-k8/Manifest4
-rw-r--r--sys-power/phc-k8/metadata.xml5
-rw-r--r--sys-power/phc-k8/phc-k8-0.4.2.ebuild36
4 files changed, 53 insertions, 0 deletions
diff --git a/sys-power/phc-k8/ChangeLog b/sys-power/phc-k8/ChangeLog
new file mode 100644
index 000000000..d7f3af6f4
--- /dev/null
+++ b/sys-power/phc-k8/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for sys-power/phc-k8
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 10 Apr 2010; Michael Weber (xmw) <gentoo@xmw.de> +phc-k8-0.4.2.ebuild,
+ +metadata.xml:
+ New Ebuild for bug 283472, AMD K8 kernel module
+
diff --git a/sys-power/phc-k8/Manifest b/sys-power/phc-k8/Manifest
new file mode 100644
index 000000000..05c23fd83
--- /dev/null
+++ b/sys-power/phc-k8/Manifest
@@ -0,0 +1,4 @@
+DIST phc-k8-0.4.2.tar.gz 20532 RMD160 2774cd409afa14b7c2ced479f31d48c8edeebcef SHA1 3f526f90d0f0a2defa24802787546117fdc3e1e8 SHA256 7881a82c2082ff70e65862cd0b23492d213be52a475f2e35ecbbbf337036a296
+EBUILD phc-k8-0.4.2.ebuild 906 RMD160 ae2b471f73aee9d8d6314ee7aac56c0dc94d8841 SHA1 f23f2fb5969b76a66acadd4ebf4e7ef423b61d4f SHA256 54dabd0be01b3b4e66be2c954bbdd91ffa54bf9a61628a85b6385976aa73ff3d
+MISC ChangeLog 258 RMD160 7aa738fe67155184a3d9806ca7508d26ec4bc43d SHA1 2229b1cd566cc4ce7678c6b9929eeaa3159483e4 SHA256 0199d1e974591cdc870b8965d582823f0f8b0a3425ee3d27940724f6f21d3352
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/sys-power/phc-k8/metadata.xml b/sys-power/phc-k8/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/sys-power/phc-k8/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/sys-power/phc-k8/phc-k8-0.4.2.ebuild b/sys-power/phc-k8/phc-k8-0.4.2.ebuild
new file mode 100644
index 000000000..4c46a20ad
--- /dev/null
+++ b/sys-power/phc-k8/phc-k8-0.4.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit linux-info linux-mod
+
+DESCRIPTION="Processor Hardwae Control for AMD K8 CPUs"
+HOMEPAGE="http://www.linux-phc.org/"
+SRC_URI="http://www.linux-phc.org/forum/download/file.php?id=83 -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S=${WORKDIR}/${PN}_v${PV}
+
+CONFIG_CHECK="~!X86_POWERNOW_K8"
+ERROR_X86_POWERNOW_K8="CONFIG_X86_POWERNOW_K8 should be configured to Module or Not set, to enable the replacemant of powernow-k8 with phc-k8."
+
+MODULE_NAMES="phc-k8(misc:)"
+BUILD_PARAMS="KERNELSRC=\"${KERNEL_DIR}\""
+BUILD_TARGETS="all"
+
+src_prepare() {
+ if kernel_is -ge 2 6 33 ; then
+ sed -i -e "s:include/linux/utsrelease.h:include/generated/utsrelease.h:" Makefile || die
+ fi
+}
+
+src_install() {
+ linux-mod_src_install
+ dodoc Changelog README || die
+}