summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2024-08-15 12:37:22 -0400
committerMike Gilbert <floppym@gentoo.org>2024-08-15 12:37:22 -0400
commit2f2c8e5e7c1c367ca3e6f1f317e5cbdae5c8aba6 (patch)
treeb1f249ba28b5c09953abb1ebbe5cebfba70e08bb /sys-power
parentsys-power/cpupower: add 6.10 (diff)
downloadgentoo-2f2c8e5e7c1c367ca3e6f1f317e5cbdae5c8aba6.tar.gz
gentoo-2f2c8e5e7c1c367ca3e6f1f317e5cbdae5c8aba6.tar.bz2
gentoo-2f2c8e5e7c1c367ca3e6f1f317e5cbdae5c8aba6.zip
sys-power/cpupower: drop 5.18
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.18.ebuild64
2 files changed, 0 insertions, 65 deletions
diff --git a/sys-power/cpupower/Manifest b/sys-power/cpupower/Manifest
index cc8c6a513765..32cfa8996dfc 100644
--- a/sys-power/cpupower/Manifest
+++ b/sys-power/cpupower/Manifest
@@ -1,3 +1,2 @@
DIST cpupower-6.10.tar.xz 96672 BLAKE2B 379e1ce6a098fcbb8a16e1388a096e19503eda83babb0179cf056adadf655ad67ddb5bb2c702f4e8b929301c4cdc60690ed10c1823faed048f2d2b4449fadeaa SHA512 58734cead2a0366e08edff5864b1d28b4af1473c860d7b032a880279a792c3d545f97a9349fb00bbd90fbaced817e31b5e4a8ea5d2c4d0bc9a40e51df4fca0e6
DIST cpupower-6.2.tar.xz 97292 BLAKE2B 08812ff41bb488d72fb9686e1d40bd369669832f5e23c13b06d14a418209c5db57ebed10a3e17ffd7102d20c0905a72c166dd0cfc4af999aba9d4a1aa38c14c5 SHA512 e7d910865da3cb3a1ff1595f67271e586b40244567226f8aa84b744a57add7e582e7d0ec0709ca31e7ec49a46d48d21957763f9d4fc7cd892fe014da86ee6cb0
-DIST linux-5.18.tar.xz 129790264 BLAKE2B e2745a69eb70169e90505a9318a3993046eab3020496eecde7d8352ecda0eb71a25b21becf7ce93fc593507dce7d1cd61b94ddcdf82b3094d79c0d3d48508eeb SHA512 dbbc9d1395898a498fa4947fceda1781344fa5d360240f753810daa4fa88e519833e2186c4e582a8f1836e6413e9e85f6563c7770523b704e8702d67622f98b5
diff --git a/sys-power/cpupower/cpupower-5.18.ebuild b/sys-power/cpupower/cpupower-5.18.ebuild
deleted file mode 100644
index 22fc954d4b41..000000000000
--- a/sys-power/cpupower/cpupower-5.18.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 2013-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-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 ~loong ~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"
-)
-
-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}
- )
- emake -C tools/power/cpupower "${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
-}