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.

48 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. include $(INCLUDE_DIR)/package.mk
  17. include ../../devel/ninja/ninja-cmake.mk
  18. define Package/libradiotap
  19. SECTION:=libs
  20. CATEGORY:=Libraries
  21. TITLE:=Radiotap Parser Library
  22. URL:=https://www.radiotap.org/
  23. endef
  24. define Package/libradiotap/description
  25. Library that supplies additional information about frames from the driver to userspace applications.
  26. endef
  27. define Build/InstallDev
  28. $(INSTALL_DIR) $(1)/usr/include
  29. $(CP) $(PKG_INSTALL_DIR)/usr/include/radiotap* $(1)/usr/include/
  30. $(INSTALL_DIR) $(1)/usr/lib
  31. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libradiotap.so* $(1)/usr/lib/
  32. endef
  33. define Package/libradiotap/install
  34. $(INSTALL_DIR) $(1)/usr/lib
  35. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libradiotap.so* $(1)/usr/lib/
  36. endef
  37. $(eval $(call BuildPackage,libradiotap))