[package] also install rbash (#6927)
[openwrt/svn-archive/archive.git] / utils / powertop / Makefile
1 #
2 # Copyright (C) 2006-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=powertop
11 PKG_VERSION:=1.11
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.lesswatts.org/projects/powertop/download/
16 PKG_MD5SUM:=3498f5983c683c3a57dce7379a722082
17
18 PKG_INSTALL:=1
19 PKG_FIXUP:=libtool
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/powertop
24 SECTION:=utils
25 CATEGORY:=Utilities
26 TITLE:=PowerTOP
27 DEFAULT:=n
28 DEPENDS:=+libncurses +libgcc
29 KCONFIG:=CONFIG_DEBUG_KERNEL=y CONFIG_TIMER_STATS=y
30 URL:=http://www.lesswatts.org
31 endef
32
33 define Package/powertop/description
34 PowerTOP is a Linux tool that helps you find those programs that are misbehaving
35 while your computer is idle.
36 endef
37
38 define Package/powertop/install
39 $(CP) $(PKG_INSTALL_DIR)/* $(1)
40 endef
41
42 $(eval $(call BuildPackage,powertop))
43