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.

41 lines
1.2 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=device-observatory
  3. PKG_VERSION:=1.2.0
  4. PKG_RELEASE:=6
  5. PKG_SOURCE_URL:=https://codeload.github.com/mwarning/device-observatory/tar.gz/v$(PKG_VERSION)?
  6. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  7. PKG_HASH:=83b3f362f154a427abbd3af31b3c2dda9983cdc15f6b833d804727ef0fbdc72e
  8. PKG_LICENSE:=GPL-3.0-or-later
  9. PKG_BUILD_DEPENDS:=vim/host
  10. include $(INCLUDE_DIR)/package.mk
  11. define Package/device-observatory
  12. SECTION:=utils
  13. CATEGORY:=Utilities
  14. TITLE:=device-observatory
  15. MAINTAINER:=Moritz Warning <moritzwarning@web.de>
  16. URL:=https://github.com/mwarning/device-observatory/
  17. DEPENDS:=+iw +libpcap +libmicrohttpd
  18. endef
  19. define Package/device-observatory/conffiles
  20. /etc/config/device-observatory
  21. endef
  22. define Package/device-observatory/description
  23. Show information about connected devices and connections to increase security awareness.
  24. endef
  25. define Package/device-observatory/install
  26. $(CP) files/* $(1)
  27. $(INSTALL_DIR) $(1)/usr/bin
  28. $(INSTALL_BIN) $(PKG_BUILD_DIR)/device-observatory $(1)/usr/bin/
  29. $(INSTALL_DIR) $(1)/usr/share/device-observatory
  30. $(INSTALL_DATA) $(PKG_BUILD_DIR)/misc/macdb.txt $(1)/usr/share/device-observatory/macdb.txt
  31. endef
  32. $(eval $(call BuildPackage,device-observatory))