2008-11-01 16:04:47 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2008 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=wavemon
|
2011-04-06 14:56:32 +00:00
|
|
|
PKG_VERSION:=0.7.2
|
2008-11-01 16:04:47 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2010-11-28 18:01:56 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
|
|
PKG_SOURCE_URL:=http://eden-feed.erg.abdn.ac.uk/wavemon/stable-releases
|
2011-04-06 14:56:32 +00:00
|
|
|
PKG_MD5SUM:=0dec700364df7bfb2e066624d0acf7bb
|
2008-11-01 16:04:47 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/wavemon
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=N-curses based wireless network devices monitor
|
|
|
|
DEPENDS:= +libncurses
|
|
|
|
SUBMENU:=wireless
|
2009-06-13 17:01:55 +00:00
|
|
|
URL:=http://eden-feed.erg.abdn.ac.uk/wavemon/
|
2008-11-01 16:04:47 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/wavemon/description
|
|
|
|
wavemon is a ncurses-based monitoring application for wireless network
|
|
|
|
devices. It currently works under Linux with devices that are supported
|
|
|
|
by the wireless extensions by Jean Tourrilhes (included in Kernel 2.4
|
|
|
|
and higher), e.g. the Lucent Orinoco cards.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS) -L${STAGING_DIR}/usr/lib -I${STAGING_DIR}/usr/include" \
|
|
|
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
|
|
all
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/wavemon/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/wavemon $(1)/usr/bin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,wavemon))
|