2 # Copyright (C) 2006 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:=http://www.wormulon.net/files/code/slurm/
16 PKG_MD5SUM:=e68d09202b835c644f7f6b7f070f29a2
18 include $(INCLUDE_DIR)/package.mk
24 TITLE:=A realtime network interface monitor
25 URL:=http://www.wormulon.net/projects/slurm
28 define Package/slurm/description
29 A realtime network interface monitor with the following features:
30 - realtime traffic statistics divided into incoming and outgoing ;
31 - optional combined view ;
32 - can monitor any kind of network interface ;
33 - shows detailed statistics about the interface ;
37 define Build/Configure
38 (cd $(PKG_BUILD_DIR); touch \
45 $(call Build/Configure/Default, \
48 ac_cv_lib_ncurses_use_default_colors=yes \
53 $(MAKE) -C $(PKG_BUILD_DIR) \
54 DESTDIR="$(PKG_INSTALL_DIR)" \
58 define Package/slurm/install
59 $(INSTALL_DIR) $(1)/usr/bin
60 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/slurm $(1)/usr/bin/
63 $(eval $(call BuildPackage,slurm))