sys-power/phc-k8: remove last rited package

Closes: https://bugs.gentoo.org/509194
Closes: https://bugs.gentoo.org/514632
Closes: https://bugs.gentoo.org/585606
Closes: https://bugs.gentoo.org/588710
This commit is contained in:
Mikle Kolyada
2018-04-15 13:19:26 +03:00
parent 7fa645762e
commit afda2f9ec1
4 changed files with 0 additions and 99 deletions

View File

@@ -1,2 +0,0 @@
DIST phc-k8-0.4.3.tar.gz 23324 BLAKE2B 6843302cd8edb455c3470731ddf273c4baf5e62c49880951f90716ee217ab8804c6d4267d04b75d6cb948faa813ffc82324f03c4611e37179c85013c59f51cbd SHA512 b4f649c5b795527ea40931a5e07470ad764957197ed68a59d604437c56b4df43e857b2aa0f0c849005ebc004fc67d0254cdb913c2c1875a5dde339f9bd08b10c
DIST phc-k8-0.4.4.tar.gz 24535 BLAKE2B f3941be804a4be0645a7e4fb1f38d482625027c623c21659a0311f0bfd7f45d8bf51415e757eccd8b424a87872b7fe79a43a80ad3d4fb2d0971a8a13c0ecabbb SHA512 208cd814fbaa55257368b02636196110db3f7338bdab9738c0401a29b082eb6214063cc1e5f60925b9f86084f55f0e0bb260af9bdf8350692fafded8c27aa3bb

View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>xmw@gentoo.org</email>
<name>Michael Weber</name>
</maintainer>
</pkgmetadata>

View File

@@ -1,42 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
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=107 -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
S=${WORKDIR}/${PN}_v${PV}
pkg_pretend() {
if kernel_is gt 3 0 0 ; then
eerror "This version is not compartible with linux 3.x (bug 376441)"
eerror "Please use >=sys-power/phc-k8-0.4.4 !"
einfo ; einfo ; einfo
die "wrong kernel version"
fi
}
pkg_setup() {
CONFIG_CHECK="~!X86_POWERNOW_K8"
ERROR_X86_POWERNOW_K8="CONFIG_X86_POWERNOW_K8 should be configured to Module, to
a) include needed symbol cpufreq_get_measured_perf and
b) enable the replacemant of powernow-k8 with phc-k8."
MODULE_NAMES="phc-k8(misc:)"
BUILD_PARAMS="KERNELSRC=\"${KERNEL_DIR}\" -j1"
BUILD_TARGETS="all"
}
src_install() {
linux-mod_src_install
dodoc Changelog README || die
}

View File

@@ -1,47 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
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=124 -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
S=${WORKDIR}/${PN}_v${PV}
pkg_setup() {
CONFIG_CHECK="~!X86_POWERNOW_K8"
ERROR_X86_POWERNOW_K8="CONFIG_X86_POWERNOW_K8 should be configured to Module, to
a) include needed symbol cpufreq_get_measured_perf and
b) enable the replacemant of powernow-k8 with phc-k8."
MODULE_NAMES="phc-k8(misc:)"
BUILD_PARAMS="KERNELSRC=\"${KERNEL_DIR}\" -j1"
BUILD_TARGETS="all"
linux-mod_pkg_setup
}
src_prepare() {
sed -e '/error Only support for 2.6 series kernels/d' \
-i Makefile || die
if kernel_is gt 2 6 32 ; then
#use mperf.{c,h,ko) from kerel
sed -e '/^MODULES/s:mperf.ko::' \
-e '/^obj-m/s:mperf.o::' \
-i Makefile || die
fi
}
src_install() {
linux-mod_src_install
dodoc Changelog README
}