[Packages] admin/htop: Update to 0.8
[openwrt/svn-archive/archive.git] / admin / htop / Makefile
1 #
2 # Copyright (C) 2007-2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=htop
12 PKG_VERSION:=0.8
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
17 PKG_MD5SUM:=b6955f8d75cdb5a3ccea83415cb18815
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/htop
22 SECTION:=admin
23 CATEGORY:=Administration
24 TITLE:=Interactive processes viewer
25 DEPENDS:=+libncurses
26 URL:=http://htop.sourceforge.net/
27 endef
28
29 define Package/htop/description
30 Htop is an ncursed-based process viewer similar to top, but
31 it allows to scroll the list vertically and horizontally to
32 see all processes and their full command lines.
33 endef
34
35 CONFIGURE_VARS += \
36 ac_cv_file__proc_stat=yes \
37 ac_cv_file__proc_meminfo=yes \
38
39 define Package/htop/install
40 $(INSTALL_DIR) $(1)/usr/bin
41 $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
42 endef
43
44 $(eval $(call BuildPackage,htop))