[packages] libnatpmp: update to 20110715, refresh patches
[openwrt/svn-archive/archive.git] / net / slurm / Makefile
1 #
2 # Copyright (C) 2006 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:=slurm
11 PKG_VERSION:=0.3.3
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.wormulon.net/slurm/
16 PKG_MD5SUM:=e68d09202b835c644f7f6b7f070f29a2
17
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/slurm
23 SECTION:=net
24 CATEGORY:=Network
25 DEPENDS:=+libncurses
26 TITLE:=A realtime network interface monitor
27 URL:=http://www.wormulon.net/slurm/
28 endef
29
30 define Package/slurm/description
31 A realtime network interface monitor with the following features:
32 - realtime traffic statistics divided into incoming and outgoing ;
33 - optional combined view ;
34 - can monitor any kind of network interface ;
35 - shows detailed statistics about the interface ;
36 - it's themeable.
37 endef
38
39 define Build/Configure
40 (cd $(PKG_BUILD_DIR); touch \
41 configure.in \
42 aclocal.m4 \
43 Makefile.in \
44 config.h.in \
45 configure \
46 );
47 $(call Build/Configure/Default, \
48 , \
49 LIBS="-lncurses" \
50 ac_cv_lib_ncurses_use_default_colors=yes \
51 )
52 endef
53
54 define Package/slurm/install
55 $(INSTALL_DIR) $(1)/usr/bin
56 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/slurm $(1)/usr/bin/
57 endef
58
59 $(eval $(call BuildPackage,slurm))