From f1e95daae05c57d935b00e611c624c5e75cd21ec Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@4d9a9b59-111c-4e0b-8f7a-7640551abb98> Date: Mon, 16 Mar 2009 07:55:01 +0000 Subject: uploading my overlay ), initial commit git-svn-id: http://172.18.13.13/svn/sss_overlay@1 4d9a9b59-111c-4e0b-8f7a-7640551abb98 --- sys-power/cpufrequtils/cpufrequtils-005.ebuild | 41 +++++++++++++ .../hibernate-script/hibernate-script-1.99.ebuild | 69 ++++++++++++++++++++++ 2 files changed, 110 insertions(+) create mode 100644 sys-power/cpufrequtils/cpufrequtils-005.ebuild create mode 100644 sys-power/hibernate-script/hibernate-script-1.99.ebuild (limited to 'sys-power') diff --git a/sys-power/cpufrequtils/cpufrequtils-005.ebuild b/sys-power/cpufrequtils/cpufrequtils-005.ebuild new file mode 100644 index 0000000..1f938fc --- /dev/null +++ b/sys-power/cpufrequtils/cpufrequtils-005.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/cpufrequtils/cpufrequtils-002-r4.ebuild,v 1.1 2008/08/11 17:46:53 armin76 Exp $ + +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 ~ppc ~ppc64 ~sparc x86" +IUSE="debug nls" + +DEPEND="sys-fs/sysfsutils" + +src_compile() { + local debug=false nls=false + + use debug && debug=true + use nls && nls=true + + emake V=true DEBUG=${debug} NLS=${nls} \ + CC=$(tc-getCC) LD=$(tc-getCC) AR=$(tc-getAR) STRIP=echo RANLIB=$(tc-getRANLIB) \ + || die "emake failed" +} + +src_install() { + local nls=false + + use nls && nls=true + + make DESTDIR="${D}" NLS=${nls} mandir=/usr/share/man libdir=/usr/$(get_libdir) \ + install || die "make install failed" + + newconfd "${FILESDIR}"/${PN}-conf.d ${PN} + newinitd "${FILESDIR}"/${PN}-init.d ${PN} + + dodoc AUTHORS README +} diff --git a/sys-power/hibernate-script/hibernate-script-1.99.ebuild b/sys-power/hibernate-script/hibernate-script-1.99.ebuild new file mode 100644 index 0000000..a1cc9b6 --- /dev/null +++ b/sys-power/hibernate-script/hibernate-script-1.99.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +PATCH_VERSION="1" + +DESCRIPTION="Hibernate script supporting multiple suspend methods" +HOMEPAGE="http://www.tuxonice.net/" +SRC_URI="http://www.tuxonice.net/downloads/all/${P}.tar.gz + mirror://gentoo/${PN}-1.98.1-patches-${PATCH_VERSION}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="vim-syntax" + +DEPEND="" +RDEPEND="!