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:=2019-04-15
  8. PKG_RELEASE:=1
  9. PKG_SOURCE_PROTO:=git
  10. PKG_SOURCE_URL:=https://github.com/radiotap/radiotap-library.git
  11. PKG_SOURCE_VERSION:=1ca6b4f0d7225971ebcadf575c8f9e00ee55e840
  12. PKG_MIRROR_HASH:=59d2350d569c4027ca1b23ebbe3519852e194184c1aaa04308712235f387e422
  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))