mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-power/intel-undervolt: remove live ebuild
Remove live ebuild since upstream wasn't updated for a couple of years. I think it makes no sense to keep these ebuilds, especially when the non-live ebuild is already at HEAD. Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
b893b29627
commit
19461e2c75
@@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit linux-info systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="Intel CPU undervolting and throttling configuration tool"
|
||||
HOMEPAGE="https://github.com/kitsunyan/intel-undervolt"
|
||||
|
||||
if [ ${PV} == "9999" ] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/kitsunyan/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/kitsunyan/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="-* ~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="elogind"
|
||||
|
||||
DEPEND="elogind? ( sys-auth/elogind )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
CONFIG_CHECK="~INTEL_RAPL ~X86_MSR"
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
# it's a non-standard build system
|
||||
$(usex elogind --enable-elogind '')
|
||||
$(usex elogind --eloginddir="${EPREFIX}/$(get_libdir)/elogind" '')
|
||||
--enable-openrc
|
||||
--enable-systemd
|
||||
--unitdir="$(systemd_get_systemunitdir)"
|
||||
)
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
|
||||
local myemakeargs=(
|
||||
CC="${CC}"
|
||||
CFLAGS="${CFLAGS}"
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
for v in ${REPLACING_VERSIONS}; do
|
||||
if [[ ${v} == 1.6 ]] ; then
|
||||
elog "openrc service has been renamed to intel-undervolt-loop"
|
||||
elog "please update your startup configuration"
|
||||
fi
|
||||
done
|
||||
}
|
||||
Reference in New Issue
Block a user