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.

50 lines
1.3 KiB

  1. #
  2. # Copyright (C) 2016 Bruno Randolf (br1@einfach.org)
  3. # 2019 Nick Hainke (vincent@systemli.org)
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=libradiotap
  7. PKG_VERSION:=2020-06-22
  8. PKG_RELEASE:=$(AUTORELEASE)
  9. PKG_SOURCE_PROTO:=git
  10. PKG_SOURCE_URL:=https://github.com/radiotap/radiotap-library.git
  11. PKG_SOURCE_VERSION:=94984dd829a605a2d7af55241145c159607f3b30
  12. PKG_MIRROR_HASH:=00398c48cac5bf34e6e363b650233353413e232fd2fc7851ccd0a52a20122e1c
  13. PKG_MAINTAINER:=Nick Hainke <vincent@systemli.org>
  14. PKG_LICENSE:=ISC
  15. PKG_LICENSE_FILES:=COPYING
  16. PKG_BUILD_PARALLEL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. include $(INCLUDE_DIR)/cmake.mk
  19. define Package/libradiotap
  20. SECTION:=libs
  21. CATEGORY:=Libraries
  22. TITLE:=Radiotap Parser Library
  23. URL:=https://www.radiotap.org/
  24. endef
  25. define Package/libradiotap/description
  26. Library that supplies additional information about frames from the driver to userspace applications.
  27. endef
  28. define Build/InstallDev
  29. $(INSTALL_DIR) $(1)/usr/include
  30. $(CP) $(PKG_INSTALL_DIR)/usr/include/radiotap* $(1)/usr/include/
  31. $(INSTALL_DIR) $(1)/usr/lib
  32. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libradiotap.so* $(1)/usr/lib/
  33. endef
  34. define Package/libradiotap/install
  35. $(INSTALL_DIR) $(1)/usr/lib
  36. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libradiotap.so* $(1)/usr/lib/
  37. endef
  38. $(eval $(call BuildPackage,libradiotap))