diff options
author | Jonathan Callen <abcd@gentoo.org> | 2010-03-31 21:32:11 +0000 |
---|---|---|
committer | Jonathan Callen <abcd@gentoo.org> | 2010-03-31 21:32:11 +0000 |
commit | c3278bcf22a8c486c0e93c0ed5dac014932e022a (patch) | |
tree | a69597ff1d565b84ba27c5592584085b9e83eeb2 /sys-power/cpufrequtils | |
parent | Install missing header file, bug #308793. (diff) | |
download | gentoo-2-c3278bcf22a8c486c0e93c0ed5dac014932e022a.tar.gz gentoo-2-c3278bcf22a8c486c0e93c0ed5dac014932e022a.tar.bz2 gentoo-2-c3278bcf22a8c486c0e93c0ed5dac014932e022a.zip |
Bump to EAPI=3, add prefix keywords
(Portage version: -svn/cvs/Linux i686)
Diffstat (limited to 'sys-power/cpufrequtils')
-rw-r--r-- | sys-power/cpufrequtils/ChangeLog | 5 | ||||
-rw-r--r-- | sys-power/cpufrequtils/cpufrequtils-007.ebuild | 20 |
2 files changed, 16 insertions, 9 deletions
diff --git a/sys-power/cpufrequtils/ChangeLog b/sys-power/cpufrequtils/ChangeLog index e00b29ba4e15..6908e8298259 100644 --- a/sys-power/cpufrequtils/ChangeLog +++ b/sys-power/cpufrequtils/ChangeLog @@ -1,6 +1,9 @@ # 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.49 2010/01/16 23:57:40 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/ChangeLog,v 1.50 2010/03/31 21:32:11 abcd Exp $ + + 31 Mar 2010; Jonathan Callen <abcd@gentoo.org> cpufrequtils-007.ebuild: + Bump to EAPI=3, add prefix keywords *cpufrequtils-007 (16 Jan 2010) diff --git a/sys-power/cpufrequtils/cpufrequtils-007.ebuild b/sys-power/cpufrequtils/cpufrequtils-007.ebuild index 19a3bf644d85..84bbc78887e9 100644 --- a/sys-power/cpufrequtils/cpufrequtils-007.ebuild +++ b/sys-power/cpufrequtils/cpufrequtils-007.ebuild @@ -1,6 +1,8 @@ # 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-007.ebuild,v 1.1 2010/01/16 23:57:40 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/cpufrequtils-007.ebuild,v 1.2 2010/03/31 21:32:11 abcd Exp $ + +EAPI=3 inherit eutils toolchain-funcs multilib @@ -10,24 +12,24 @@ SRC_URI="mirror://kernel/linux/utils/kernel/cpufreq/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" +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_unpack() { - unpack ${A} - cd "${S}" +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="/usr/share/man" - export libdir="/usr/$(get_libdir)" - export docdir="/usr/share/doc/${PF}" + export mandir="${EPREFIX}/usr/share/man" + export libdir="${EPREFIX}/usr/$(get_libdir)" + export docdir="${EPREFIX}/usr/share/doc/${PF}" } src_compile() { @@ -37,6 +39,8 @@ src_compile() { AR="$(tc-getAR)" \ STRIP=: \ RANLIB="$(tc-getRANLIB)" \ + LIBTOOL="${EPREFIX}"/usr/bin/libtool \ + INSTALL="${EPREFIX}"/usr/bin/install \ || die } |