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.

44 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2017 Sven Eckelmann <sven@narfation.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:=ratechecker
  9. PKG_VERSION:=0.0.20170609
  10. PKG_RELEASE:=2
  11. PKG_REV:=4cd4e3c70d9832336af5ba157f2a272f9c0098dc
  12. PKG_MIRROR_HASH:=c6f02b273536738bbcf4b16e3859f733a02ada88b4078fc8a5b0ad8d1d184370
  13. PKG_LICENSE:=GPL-2.0-or-later
  14. PKG_LICENSE_FILES:=COPYING
  15. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  16. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  17. PKG_SOURCE_VERSION:=$(PKG_REV)
  18. PKG_SOURCE_URL:=https://bitbucket.org/comnets/ratechecker.git
  19. PKG_SOURCE_PROTO:=git
  20. PKG_BUILD_PARALLEL:=1
  21. include $(INCLUDE_DIR)/package.mk
  22. include $(INCLUDE_DIR)/cmake.mk
  23. define Package/ratechecker
  24. SECTION:=net
  25. CATEGORY:=Network
  26. TITLE:=IEEE 802.11 bitrate analysis tool
  27. URL:=https://bitbucket.org/comnets/ratechecker/
  28. DEPENDS:=+libevent2
  29. MAINTAINER:=Simon Wunderlich <sw@simonwunderlich.de>
  30. endef
  31. define Package/ratechecker/install
  32. $(INSTALL_DIR) $(1)/usr/sbin
  33. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/tmp/ratechecker $(1)/usr/sbin/
  34. endef
  35. $(eval $(call BuildPackage,ratechecker))