[Packages] admin/htop: Update to 0.7 (#3415)
[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.7
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
17 PKG_MD5SUM:=4afc961fa709167e1b434682897991f9
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 define Package/htop/install
36 $(INSTALL_DIR) $(1)/usr/bin
37 $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
38 endef
39
40 $(eval $(call BuildPackage,htop))