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