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.

36 lines
1.1 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=device-observatory
  3. PKG_VERSION:=1.2.0
  4. PKG_RELEASE:=2
  5. PKG_LICENSE:=GPL-3.0+
  6. PKG_SOURCE_URL:=https://codeload.github.com/mwarning/device-observatory/tar.gz/v$(PKG_VERSION)?
  7. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  8. PKG_HASH:=83b3f362f154a427abbd3af31b3c2dda9983cdc15f6b833d804727ef0fbdc72e
  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/description
  19. Show information about connected devices and connections to increase security awareness.
  20. endef
  21. define Package/device-observatory/install
  22. $(CP) files/* $(1)
  23. $(INSTALL_DIR) $(1)/usr/bin
  24. $(INSTALL_BIN) $(PKG_BUILD_DIR)/device-observatory $(1)/usr/bin/
  25. $(INSTALL_DIR) $(1)/usr/share/device-observatory
  26. $(INSTALL_DATA) $(PKG_BUILD_DIR)/misc/macdb.txt $(1)/usr/share/device-observatory/macdb.txt
  27. endef
  28. $(eval $(call BuildPackage,device-observatory))