add powertop, thanks Raphael HUCK
[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 DEPENDS:=+libncurses +libgcc
28 KCONFIG:=CONFIG_DEBUG_KERNEL=y CONFIG_TIMER_STATS=y
29 URL:=http://www.lesswatts.org
30 endef
31
32 define Package/powertop/description
33 PowerTOP is a Linux tool that helps you find those programs that are misbehaving
34 while your computer is idle.
35 endef
36
37 define Package/powertop/install
38 $(CP) $(PKG_INSTALL_DIR)/* $(1)
39 endef
40
41 $(eval $(call BuildPackage,powertop))
42