You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.3 KiB

  1. #
  2. # Copyright (C) 2008-2014 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=wavemon
  9. PKG_VERSION:=0.7.6
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  12. PKG_SOURCE_URL:=http://eden-feed.erg.abdn.ac.uk/wavemon/stable-releases
  13. PKG_MD5SUM:=c60e25feb8b1785cf14371556f0613f4
  14. PKG_INSTALL:=1
  15. include $(INCLUDE_DIR)/package.mk
  16. define Package/wavemon
  17. SECTION:=net
  18. CATEGORY:=Network
  19. MAINTAINER:=Jonathan McCrohan <jmccrohan@gmail.com>
  20. TITLE:=N-curses based wireless network devices monitor
  21. DEPENDS:=+libncurses +libpthread
  22. SUBMENU:=wireless
  23. URL:=http://eden-feed.erg.abdn.ac.uk/wavemon/
  24. endef
  25. define Package/wavemon/description
  26. wavemon is a ncurses-based monitoring application for wireless network
  27. devices. It currently works under Linux with devices that are supported
  28. by the wireless extensions by Jean Tourrilhes (included in Kernel 2.4
  29. and higher), e.g. the Lucent Orinoco cards.
  30. endef
  31. CONFIGURE_VARS += \
  32. ac_cv_lib_cap_cap_get_flag=no
  33. TARGET_CFLAGS += -pthread
  34. MAKE_FLAGS += \
  35. CFLAGS="$(TARGET_CFLAGS) -L$(STAGING_DIR)/usr/lib -I$(STAGING_DIR)/usr/include"
  36. define Package/wavemon/install
  37. $(INSTALL_DIR) $(1)/usr/bin
  38. $(CP) $(PKG_INSTALL_DIR)/usr/bin/wavemon $(1)/usr/bin/
  39. endef
  40. $(eval $(call BuildPackage,wavemon))