diff options
Diffstat (limited to 'sys-power/powertop/powertop-1.13.ebuild')
-rw-r--r-- | sys-power/powertop/powertop-1.13.ebuild | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/sys-power/powertop/powertop-1.13.ebuild b/sys-power/powertop/powertop-1.13.ebuild deleted file mode 100644 index 359fb8324fa6..000000000000 --- a/sys-power/powertop/powertop-1.13.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=3 - -inherit toolchain-funcs eutils - -DESCRIPTION="tool that helps you find what software is using the most power" -HOMEPAGE="http://www.lesswatts.org/projects/powertop/" -SRC_URI="http://www.lesswatts.org/projects/powertop/download/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm ppc sparc x86 ~amd64-linux ~x86-linux" -IUSE="unicode" - -DEPEND="sys-libs/ncurses[unicode?] - sys-devel/gettext" -RDEPEND="sys-libs/ncurses[unicode?] - virtual/libintl - sys-apps/pciutils" - -src_prepare() { - sed -i '/${CFLAGS}/s:$: ${LDFLAGS}:' Makefile - use unicode || sed -i 's:-lncursesw:-lncurses:' Makefile -} - -src_configure() { - tc-export CC -} - -src_install() { - emake install DESTDIR="${ED}" || die - dodoc Changelog README - gunzip "${ED}"/usr/share/man/man1/powertop.1.gz -} - -pkg_postinst() { - echo - einfo "For PowerTOP to work best, use a Linux kernel with the" - einfo "tickless idle (NO_HZ) feature enabled (version 2.6.21 or later)" - echo -} |