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