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.

54 lines
1.4 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_LICENSE:=GPL-2.0+
  15. PKG_LICENSE_FILES:=COPYING
  16. PKG_INSTALL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/wavemon
  19. SECTION:=net
  20. CATEGORY:=Network
  21. PKG_MAINTAINER:=Jonathan McCrohan <jmccrohan@gmail.com>
  22. TITLE:=N-curses based wireless network devices monitor
  23. DEPENDS:=+libncurses +libpthread
  24. SUBMENU:=wireless
  25. URL:=http://eden-feed.erg.abdn.ac.uk/wavemon/
  26. endef
  27. define Package/wavemon/description
  28. wavemon is a ncurses-based monitoring application for wireless network
  29. devices. It currently works under Linux with devices that are supported
  30. by the wireless extensions by Jean Tourrilhes (included in Kernel 2.4
  31. and higher), e.g. the Lucent Orinoco cards.
  32. endef
  33. CONFIGURE_VARS += \
  34. ac_cv_lib_cap_cap_get_flag=no
  35. TARGET_CFLAGS += -pthread
  36. MAKE_FLAGS += \
  37. CFLAGS="$(TARGET_CFLAGS) -L$(STAGING_DIR)/usr/lib -I$(STAGING_DIR)/usr/include"
  38. define Package/wavemon/install
  39. $(INSTALL_DIR) $(1)/usr/bin
  40. $(CP) $(PKG_INSTALL_DIR)/usr/bin/wavemon $(1)/usr/bin/
  41. endef
  42. $(eval $(call BuildPackage,wavemon))