remove useless xorg macros patch
[openwrt/svn-archive/archive.git] / admin / htop / Makefile
1 #
2 # Copyright (C) 2007 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.6.6
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/htop
17 PKG_MD5SUM:=12c8e6e97bd50a4e0a4730d23675fc7b
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/htop
22 SECTION:=admin
23 CATEGORY:=Administration
24 TITLE:=process viewer
25 DEPENDS:=+libncurses
26 URL:=http://htop.sourceforge.net/
27 endef
28
29 define Package/htop/description
30 An interactive process viewer with colors tree mode and other features.
31 endef
32
33 define Build/Compile
34 $(MAKE) -C $(PKG_BUILD_DIR) all
35 endef
36
37 define Package/htop/install
38 $(INSTALL_DIR) $(1)/usr/bin
39 $(INSTALL_BIN) $(PKG_BUILD_DIR)/htop $(1)/usr/bin/
40 endef
41
42 $(eval $(call BuildPackage,htop))