diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-07-05 19:43:34 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-07-05 19:43:34 +0000 |
commit | 2c6625b5e19d6a7da64ff7caeb93ca4ab9d9b71b (patch) | |
tree | fe84d7b1e538ae1d5d6fc6162a7b975a426920ac /sys-power | |
parent | adobe-flash-10.0 has been masked for security reasons, which huludesktop depe... (diff) | |
download | gentoo-2-2c6625b5e19d6a7da64ff7caeb93ca4ab9d9b71b.tar.gz gentoo-2-2c6625b5e19d6a7da64ff7caeb93ca4ab9d9b71b.tar.bz2 gentoo-2-2c6625b5e19d6a7da64ff7caeb93ca4ab9d9b71b.zip |
Version bump.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/cpufrequtils/ChangeLog | 7 | ||||
-rw-r--r-- | sys-power/cpufrequtils/cpufrequtils-008.ebuild | 53 |
2 files changed, 59 insertions, 1 deletions
diff --git a/sys-power/cpufrequtils/ChangeLog b/sys-power/cpufrequtils/ChangeLog index 6908e8298259..6ab1677323a0 100644 --- a/sys-power/cpufrequtils/ChangeLog +++ b/sys-power/cpufrequtils/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-power/cpufrequtils # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/ChangeLog,v 1.50 2010/03/31 21:32:11 abcd Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/ChangeLog,v 1.51 2010/07/05 19:43:34 vapier Exp $ + +*cpufrequtils-008 (05 Jul 2010) + + 05 Jul 2010; Mike Frysinger <vapier@gentoo.org> +cpufrequtils-008.ebuild: + Version bump. 31 Mar 2010; Jonathan Callen <abcd@gentoo.org> cpufrequtils-007.ebuild: Bump to EAPI=3, add prefix keywords diff --git a/sys-power/cpufrequtils/cpufrequtils-008.ebuild b/sys-power/cpufrequtils/cpufrequtils-008.ebuild new file mode 100644 index 000000000000..e9b477aa736e --- /dev/null +++ b/sys-power/cpufrequtils/cpufrequtils-008.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/cpufrequtils-008.ebuild,v 1.1 2010/07/05 19:43:34 vapier Exp $ + +EAPI="3" + +inherit eutils toolchain-funcs multilib + +DESCRIPTION="Userspace utilities for the Linux kernel cpufreq subsystem" +HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html" +SRC_URI="mirror://kernel/linux/utils/kernel/cpufreq/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="debug nls" + +DEPEND="sys-fs/sysfsutils" + +ft() { use $1 && echo true || echo false ; } + +src_prepare() { + epatch "${FILESDIR}"/${PN}-007-build.patch + epatch "${FILESDIR}"/${PN}-007-nls.patch #205576 #292246 +} + +src_configure() { + export DEBUG=$(ft debug) V=true NLS=$(ft nls) + unset bindir sbindir includedir localedir confdir + export mandir="${EPREFIX}/usr/share/man" + export libdir="${EPREFIX}/usr/$(get_libdir)" + export docdir="${EPREFIX}/usr/share/doc/${PF}" +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + LD="$(tc-getCC)" \ + AR="$(tc-getAR)" \ + STRIP=: \ + RANLIB="$(tc-getRANLIB)" \ + LIBTOOL="${EPREFIX}"/usr/bin/libtool \ + INSTALL="${EPREFIX}"/usr/bin/install \ + || die +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS README + + newinitd "${FILESDIR}"/${PN}-init.d-006 ${PN} || die + newconfd "${FILESDIR}"/${PN}-conf.d-006 ${PN} +} |