summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2022-06-03 14:56:06 -0400
committerMike Gilbert <floppym@gentoo.org>2022-06-03 14:56:34 -0400
commit1e1917949e64c3392d6891d25e861581704ffe2e (patch)
tree695bf25f46e8ff294d6a6adb3ef7497f15458567 /sys-power
parentsys-power/cpupower: add 5.18 (diff)
downloadgentoo-1e1917949e64c3392d6891d25e861581704ffe2e.tar.gz
gentoo-1e1917949e64c3392d6891d25e861581704ffe2e.tar.bz2
gentoo-1e1917949e64c3392d6891d25e861581704ffe2e.zip
sys-power/cpupower: drop 5.4
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/cpupower/Manifest1
-rw-r--r--sys-power/cpupower/cpupower-5.4.ebuild67
2 files changed, 0 insertions, 68 deletions
diff --git a/sys-power/cpupower/Manifest b/sys-power/cpupower/Manifest
index 2278163061e9..93533e35cf55 100644
--- a/sys-power/cpupower/Manifest
+++ b/sys-power/cpupower/Manifest
@@ -1,3 +1,2 @@
DIST linux-5.12.tar.xz 118112412 BLAKE2B 842d921b9a73d2aaade763dbd2ec67bdfe0275baa6d628b775f5c87574ad7dc86f0419afcd48c10c1235f4bffa16084243f2cf4556e6afcd391e975fe8ba530b SHA512 be03b6fee1d1ea8087b09874d27c0a602c0b04fd90ad38b975bd2c8455a07e83c29b56814aaf1389e82305fae0e4c2d1701075a7f0a7295dd28149f967ec5b3d
DIST linux-5.18.tar.xz 129790264 BLAKE2B e2745a69eb70169e90505a9318a3993046eab3020496eecde7d8352ecda0eb71a25b21becf7ce93fc593507dce7d1cd61b94ddcdf82b3094d79c0d3d48508eeb SHA512 dbbc9d1395898a498fa4947fceda1781344fa5d360240f753810daa4fa88e519833e2186c4e582a8f1836e6413e9e85f6563c7770523b704e8702d67622f98b5
-DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f
diff --git a/sys-power/cpupower/cpupower-5.4.ebuild b/sys-power/cpupower/cpupower-5.4.ebuild
deleted file mode 100644
index 821253b9a1fe..000000000000
--- a/sys-power/cpupower/cpupower-5.4.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 2013-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd toolchain-funcs
-
-DESCRIPTION="Shows and sets processor power related values"
-HOMEPAGE="https://www.kernel.org/"
-SRC_URI="https://cdn.kernel.org/pub/linux/kernel/v${PV%%.*}.x/linux-${PV}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0/0"
-KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv x86"
-IUSE="nls"
-
-# File collision w/ headers of the deprecated cpufrequtils
-RDEPEND="sys-apps/pciutils"
-DEPEND="${RDEPEND}
- virtual/os-headers
- nls? ( sys-devel/gettext )"
-
-PATCHES=(
- "${FILESDIR}/cpupower-5.4-cflags.patch"
- "${FILESDIR}/cpupower-5.4-gcc-10.patch"
-)
-
-S="${WORKDIR}/linux-${PV}"
-
-src_configure() {
- export bindir="${EPREFIX}/usr/bin"
- export sbindir="${EPREFIX}/usr/sbin"
- export mandir="${EPREFIX}/usr/share/man"
- export includedir="${EPREFIX}/usr/include"
- export libdir="${EPREFIX}/usr/$(get_libdir)"
- export localedir="${EPREFIX}/usr/share/locale"
- export docdir="${EPREFIX}/usr/share/doc/${PF}"
- export confdir="${EPREFIX}/etc"
- export bash_completion_dir="${EPREFIX}/usr/share/bash-completion/completions"
- export V=1
- export NLS=$(usex nls true false)
-}
-
-src_compile() {
- myemakeargs=(
- AR="$(tc-getAR)"
- CC="$(tc-getCC)"
- LD="$(tc-getCC)"
- VERSION=${PV}
- )
-
- cd tools/power/cpupower || die
- emake "${myemakeargs[@]}"
-}
-
-src_install() {
- cd tools/power/cpupower || die
- emake "${myemakeargs[@]}" DESTDIR="${D}" install
- doheader lib/cpupower.h
- einstalldocs
-
- newconfd "${FILESDIR}"/conf.d-r2 cpupower
- newinitd "${FILESDIR}"/init.d-r4 cpupower
-
- systemd_dounit "${FILESDIR}"/cpupower-frequency-set.service
- systemd_install_serviced "${FILESDIR}"/cpupower-frequency-set.service.conf
-}