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.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://www.wormulon.net/files/code/slurm/
17 PKG_MD5SUM:=e68d09202b835c644f7f6b7f070f29a2
19 include $(INCLUDE_DIR)/package.mk
25 TITLE:=A realtime network interface monitor
26 URL:=http://www.wormulon.net/projects/slurm
29 define Package/slurm/description
30 A realtime network interface monitor with the following features:
31 - realtime traffic statistics divided into incoming and outgoing ;
32 - optional combined view ;
33 - can monitor any kind of network interface ;
34 - shows detailed statistics about the interface ;
38 define Build/Configure
39 (cd $(PKG_BUILD_DIR); touch \
46 $(call Build/Configure/Default, \
49 ac_cv_lib_ncurses_use_default_colors=yes \
54 $(MAKE) -C $(PKG_BUILD_DIR) \
55 DESTDIR="$(PKG_INSTALL_DIR)" \
59 define Package/slurm/install
60 $(INSTALL_DIR) $(1)/usr/bin
61 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/slurm $(1)/usr/bin/
64 $(eval $(call BuildPackage,slurm))