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 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
20 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
22 include $(INCLUDE_DIR
)/package.mk
28 TITLE
:=A realtime network interface monitor
29 URL
:=http
://www.wormulon.net
/projects
/slurm
32 define Package
/slurm
/description
33 A realtime network interface monitor with the following features
:
34 - realtime traffic statistics divided into incoming and outgoing
;
35 - optional combined view
;
36 - can monitor any kind of network interface
;
37 - shows detailed statistics about the interface
;
41 define Build/Configure
42 (cd $(PKG_BUILD_DIR); touch \
49 $(call Build/Configure/Default, \
52 ac_cv_lib_ncurses_use_default_colors=yes \
57 $(MAKE) -C $(PKG_BUILD_DIR) \
58 DESTDIR="$(PKG_INSTALL_DIR)" \
62 define Package/slurm/install
63 $(INSTALL_DIR) $(1)/usr/bin
64 $(CP) $(PKG_INSTALL_DIR)/usr/bin/slurm $(1)/usr/bin/
67 $(eval $(call BuildPackage,slurm))