2 # Copyright (C) 2007-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@SF
/$(PKG_NAME
)
16 PKG_MD5SUM
:=325112ca7947ea1f6d6441f631e00384
21 include $(INCLUDE_DIR
)/package.mk
25 CATEGORY
:=Administration
26 TITLE
:=Interactive processes viewer
28 URL
:=http
://htop.sourceforge.net
/
31 define Package
/htop
/description
32 Htop is an ncursed-based process viewer similar to top
, but
33 it allows to scroll the list vertically and horizontally to
34 see
all processes and their full command lines.
38 --disable-native-affinity \
42 ac_cv_file__proc_stat
=yes \
43 ac_cv_file__proc_meminfo
=yes \
44 ac_cv_func_malloc_0_nonnull
=yes \
45 ac_cv_func_realloc_0_nonnull
=yes
47 define Package
/htop
/install
48 $(INSTALL_DIR
) $(1)/usr
/bin
49 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/$(PKG_NAME
) $(1)/usr
/bin
/
52 $(eval
$(call BuildPackage
,htop
))