diff options
author | Michael Weber <xmw@gentoo.org> | 2010-08-24 13:37:14 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2010-08-24 13:37:14 +0000 |
commit | 58f36a58ba443141204ba941a4fe29f30ef389a5 (patch) | |
tree | e21a75ff09f7b884d3c9ab4a78f099790a00cccc /sys-power | |
parent | stable x86, bug 333417 (diff) | |
download | gentoo-2-58f36a58ba443141204ba941a4fe29f30ef389a5.tar.gz gentoo-2-58f36a58ba443141204ba941a4fe29f30ef389a5.tar.bz2 gentoo-2-58f36a58ba443141204ba941a4fe29f30ef389a5.zip |
Initial commit
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/phc-k8/ChangeLog | 10 | ||||
-rw-r--r-- | sys-power/phc-k8/metadata.xml | 8 | ||||
-rw-r--r-- | sys-power/phc-k8/phc-k8-0.4.2.ebuild | 36 |
3 files changed, 54 insertions, 0 deletions
diff --git a/sys-power/phc-k8/ChangeLog b/sys-power/phc-k8/ChangeLog new file mode 100644 index 000000000000..016319ec2255 --- /dev/null +++ b/sys-power/phc-k8/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-power/phc-k8 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/phc-k8/ChangeLog,v 1.1 2010/08/24 13:37:14 xmw Exp $ + +*phc-k8-0.4.2 (24 Aug 2010) + + 24 Aug 2010; Michael Weber (xmw) <xmw@gentoo.org> +phc-k8-0.4.2.ebuild, + +metadata.xml: + Initial commit for phc-k8. Fixes bug 283472. + diff --git a/sys-power/phc-k8/metadata.xml b/sys-power/phc-k8/metadata.xml new file mode 100644 index 000000000000..8a935b04b5c4 --- /dev/null +++ b/sys-power/phc-k8/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>xmw@gentoo.org</email> +</maintainer> +</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 000000000000..0ad9c3cabb0e --- /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: /var/cvsroot/gentoo-x86/sys-power/phc-k8/phc-k8-0.4.2.ebuild,v 1.1 2010/08/24 13:37:14 xmw Exp $ + +EAPI=2 + +inherit linux-info linux-mod + +DESCRIPTION="Processor Hardware 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 +} |