5a79854b8e6e077b480cc691c17b4da6dc5a45b2
[packages.git] / admin / htop / Makefile
1 #
2 # Copyright (C) 2007-2009 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:=htop
11 PKG_VERSION:=0.8.3
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
16 PKG_MD5SUM:=5c9f093f9eaddf6e77aa6d54c2116d0c
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/htop
21   SECTION:=admin
22   CATEGORY:=Administration
23   TITLE:=Interactive processes viewer
24   DEPENDS:=+libncurses
25   URL:=http://htop.sourceforge.net/
26 endef
27
28 define Package/htop/description
29  Htop is an ncursed-based process viewer similar to top, but
30  it allows to scroll the list vertically and horizontally to
31  see all processes and their full command lines.
32 endef
33
34 CONFIGURE_VARS += \
35         ac_cv_file__proc_stat=yes \
36         ac_cv_file__proc_meminfo=yes \
37
38 define Package/htop/install
39         $(INSTALL_DIR) $(1)/usr/bin
40         $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
41 endef
42
43 $(eval $(call BuildPackage,htop))