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.

40 lines
1.2 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=device-observatory
  3. PKG_VERSION:=1.2.0
  4. PKG_RELEASE:=7
  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. include $(INCLUDE_DIR)/package.mk
  10. define Package/device-observatory
  11. SECTION:=utils
  12. CATEGORY:=Utilities
  13. TITLE:=device-observatory
  14. MAINTAINER:=Moritz Warning <moritzwarning@web.de>
  15. URL:=https://github.com/mwarning/device-observatory/
  16. DEPENDS:=+iw +libpcap +libmicrohttpd
  17. endef
  18. define Package/device-observatory/conffiles
  19. /etc/config/device-observatory
  20. endef
  21. define Package/device-observatory/description
  22. Show information about connected devices and connections to increase security awareness.
  23. endef
  24. define Package/device-observatory/install
  25. $(CP) files/* $(1)
  26. $(INSTALL_DIR) $(1)/usr/bin
  27. $(INSTALL_BIN) $(PKG_BUILD_DIR)/device-observatory $(1)/usr/bin/
  28. $(INSTALL_DIR) $(1)/usr/share/device-observatory
  29. $(INSTALL_DATA) $(PKG_BUILD_DIR)/misc/macdb.txt $(1)/usr/share/device-observatory/macdb.txt
  30. endef
  31. $(eval $(call BuildPackage,device-observatory))