diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /sys-power/cpupower/cpupower-3.18.ebuild | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'sys-power/cpupower/cpupower-3.18.ebuild')
-rw-r--r-- | sys-power/cpupower/cpupower-3.18.ebuild | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/sys-power/cpupower/cpupower-3.18.ebuild b/sys-power/cpupower/cpupower-3.18.ebuild deleted file mode 100644 index 0dcdb330bbc9..000000000000 --- a/sys-power/cpupower/cpupower-3.18.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit multilib toolchain-funcs - -DESCRIPTION="Shows and sets processor power related values" -HOMEPAGE="https://www.kernel.org/" -SRC_URI="https://www.kernel.org/pub/linux/kernel/v3.x/linux-${PV}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86" -IUSE="cpufreq_bench debug nls" - -# File collision w/ headers of the deprecated cpufrequtils -RDEPEND="sys-apps/pciutils - !<sys-apps/linux-misc-apps-3.6-r2 - !sys-power/cpufrequtils" -DEPEND="${RDEPEND} - virtual/os-headers - virtual/pkgconfig - nls? ( sys-devel/gettext )" - -S=${WORKDIR}/linux-${PV}/tools/power/${PN} - -pkg_setup() { - myemakeargs=( - DEBUG=$(usex debug true false) - V=1 - CPUFREQ_BENCH=$(usex cpufreq_bench true false) - NLS=$(usex nls true false) - docdir=/usr/share/doc/${PF}/${PN} - mandir=/usr/share/man - libdir=/usr/$(get_libdir) - AR="$(tc-getAR)" - CC="$(tc-getCC)" - LD="$(tc-getCC)" - STRIP=true - LDFLAGS="${LDFLAGS}" - OPTIMIZATION="${CFLAGS}" - ) -} - -src_unpack() { - tar -xf "${DISTDIR}"/linux-${PV}.tar.xz \ - linux-${PV}/tools/power/${PN} \ - linux-${PV}/Makefile \ - || die -} - -src_prepare() { - # -Wl,--as-needed compat - local libs="-lcpupower -lrt $($(tc-getPKG_CONFIG) --libs-only-l libpci)" - sed -i \ - -e "/$libs/{ s,${libs},,g; s,\$, ${libs},g;}" \ - -e "s:-O1 -g::" \ - Makefile || die -} - -src_compile() { - emake "${myemakeargs[@]}" -} - -src_install() { - emake DESTDIR="${D}" "${myemakeargs[@]}" install - dodoc README ToDo - - newconfd "${FILESDIR}"/conf.d-r2 ${PN} - newinitd "${FILESDIR}"/init.d-r4 ${PN} -} |