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.4 KiB

  1. #
  2. # Copyright (C) 2008-2017 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.9.0
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://codeload.github.com/uoaerg/wavemon/tar.gz/v$(PKG_VERSION)?
  13. PKG_HASH:=5823ef9459d6147a457b390b6744a77465584e93d37c2809fa7a0be557070166
  14. PKG_MAINTAINER:=Jonathan McCrohan <jmccrohan@gmail.com>
  15. PKG_LICENSE:=GPL-2.0+
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_BUILD_PARALLEL:=1
  18. PKG_INSTALL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/wavemon
  21. SECTION:=net
  22. CATEGORY:=Network
  23. TITLE:=N-curses based wireless network devices monitor
  24. DEPENDS:=+libncurses +libpthread +libnl-genl
  25. SUBMENU:=wireless
  26. URL:=https://github.com/uoaerg/wavemon/releases
  27. endef
  28. define Package/wavemon/description
  29. wavemon is a ncurses-based monitoring application for wireless network
  30. devices. It currently works under Linux with devices that are supported
  31. by the wireless extensions by Jean Tourrilhes (included in Kernel 2.4
  32. and higher), e.g. the Lucent Orinoco cards.
  33. endef
  34. CONFIGURE_ARGS += --without-libcap
  35. TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/libnl3
  36. define Package/wavemon/install
  37. $(INSTALL_DIR) $(1)/usr/bin
  38. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/wavemon $(1)/usr/bin/
  39. endef
  40. $(eval $(call BuildPackage,wavemon))