diff options
author | Michael Weber <xmw@gentoo.org> | 2010-04-09 16:41:39 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2010-04-09 16:41:39 +0000 |
commit | 8b10dcbaac7bc6bbba501ff0af4d7bd2b28b2246 (patch) | |
tree | 3283d51596be44f40750a19a6daacfc5e8fcd48e /sys-power | |
parent | sys-fs/funionfs: Version bump, cleanup and keywording for amd64. (diff) | |
download | sunrise-8b10dcbaac7bc6bbba501ff0af4d7bd2b28b2246.tar.gz sunrise-8b10dcbaac7bc6bbba501ff0af4d7bd2b28b2246.tar.bz2 sunrise-8b10dcbaac7bc6bbba501ff0af4d7bd2b28b2246.zip |
sys-power/phc-intel: New Ebuild for bug 283472
svn path=/sunrise/; revision=10424
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/phc-intel/ChangeLog | 8 | ||||
-rw-r--r-- | sys-power/phc-intel/Manifest | 4 | ||||
-rw-r--r-- | sys-power/phc-intel/metadata.xml | 5 | ||||
-rw-r--r-- | sys-power/phc-intel/phc-intel-0.3.2.10.ebuild | 31 |
4 files changed, 48 insertions, 0 deletions
diff --git a/sys-power/phc-intel/ChangeLog b/sys-power/phc-intel/ChangeLog new file mode 100644 index 000000000..f7e8cbc16 --- /dev/null +++ b/sys-power/phc-intel/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for sys-power/phc-intel +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 09 Apr 2010; Michael Weber (xmw) <gentoo@xmw.de> + +phc-intel-0.3.2.10.ebuild, +metadata.xml: + New Ebuild for bug 283472 + diff --git a/sys-power/phc-intel/Manifest b/sys-power/phc-intel/Manifest new file mode 100644 index 000000000..bfd0a8361 --- /dev/null +++ b/sys-power/phc-intel/Manifest @@ -0,0 +1,4 @@ +DIST phc-intel-0.3.2.10.tar.bz2 20680 RMD160 c9af322d7234c83aef348eb1b01cccf1f5cb1b18 SHA1 3e8b3e2f5732ace6e76146bd820448fd17369c31 SHA256 8483e071ad2644c339539ac5298c7a31a12212fd9a68baa1f6766dad146510f5 +EBUILD phc-intel-0.3.2.10.ebuild 862 RMD160 3bc44c49e2c7938d82d41c832731e37252a47075 SHA1 1b6f6cf00386d9160f9abad4802e4292fe2cde47 SHA256 ccb0b51bd5504aa5d42ec2d33c5ae5cd7382c510775c6517be01f3ec13d7299f +MISC ChangeLog 245 RMD160 a199f6272960af4aab8548aafa1f6e7270cd8444 SHA1 8a237d808ca63a9c073d90342a1eccb744b678c7 SHA256 e0c7c5d3fe52540aa735a9f4e6c0411d11ea38410054be4e1e6141142cfc4161 +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/sys-power/phc-intel/metadata.xml b/sys-power/phc-intel/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/sys-power/phc-intel/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-intel/phc-intel-0.3.2.10.ebuild b/sys-power/phc-intel/phc-intel-0.3.2.10.ebuild new file mode 100644 index 000000000..560ccbefe --- /dev/null +++ b/sys-power/phc-intel/phc-intel-0.3.2.10.ebuild @@ -0,0 +1,31 @@ +# 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 Intel CPUs" +HOMEPAGE="http://www.linux-phc.org/" +SRC_URI="http://www.linux-phc.org/forum/download/file.php?id=87 -> ${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +S="${WORKDIR}/${P%.*}-${P##*.}" + +CONFIG_CHECK="!CONFIG_X86_ACPI_CPUFREQ" +ERROR_CONFIG_X86_ACPI_CPUFREQ="CONFIG_X86_ACPI_CPUFREQ has to be set to Module or Not set to enable the replacement of acpi-cpufreq with phc-intel." + +MODULE_NAMES="phc-intel(misc:)" +BUILD_PARAMS="KERNELSRC=\"${KERNEL_DIR}\"" +BUILD_TARGETS="prepare 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 +} |