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
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
;\\\
37 URL:=http://www.wormulon.net/projects/slurm
40 define Build/Configure
41 (cd $(PKG_BUILD_DIR); touch \
48 $(call Build/Configure/Default, \
51 ac_cv_lib_ncurses_use_default_colors=yes \
56 $(MAKE) -C $(PKG_BUILD_DIR) \
57 DESTDIR="$(PKG_INSTALL_DIR)" \
61 define Package/slurm/install
62 install -d -m0755 $(1)/usr/bin
63 $(CP) $(PKG_INSTALL_DIR)/usr/bin/slurm $(1)/usr/bin/
66 $(eval $(call BuildPackage,slurm))