/[gentoo-x86]/sys-apps/cpufrequtils/cpufrequtils-0.2.ebuild
Gentoo

Contents of /sys-apps/cpufrequtils/cpufrequtils-0.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Mar 14 23:37:48 2005 UTC (13 years, 3 months ago) by ciaranm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Moved to sys-power/cpufrequtils.

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/cpufrequtils/cpufrequtils-0.2.ebuild,v 1.1 2005/02/28 08:36:46 brix Exp $
4
5 # The following works for both releases and pre-releases
6 MY_P=${P/_/-}
7 S=${WORKDIR}/${MY_P}
8
9 DESCRIPTION="Userspace utilities and library for the Linux kernel cpufreq subsystem"
10
11 HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html"
12 SRC_URI="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/${MY_P}.tar.bz2"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~x86"
17
18 IUSE="nls"
19
20 DEPEND="sys-fs/sysfsutils"
21
22 src_compile() {
23 econf \
24 --enable-proc \
25 --enable-sysfs=/sys \
26 $(use_enable nls) \
27 || die "econf failed"
28
29 emake || die "emake failed"
30 }
31
32 src_install() {
33 emake DESTDIR=${D} install || die "emake install failed"
34
35 dodoc AUTHORS ChangeLog NEWS README
36 }

  ViewVC Help
Powered by ViewVC 1.1.20