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.

37 lines
1.1 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=device-observatory
  3. PKG_VERSION:=1.2.0
  4. PKG_RELEASE:=3
  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+
  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/description
  20. Show information about connected devices and connections to increase security awareness.
  21. endef
  22. define Package/device-observatory/install
  23. $(CP) files/* $(1)
  24. $(INSTALL_DIR) $(1)/usr/bin
  25. $(INSTALL_BIN) $(PKG_BUILD_DIR)/device-observatory $(1)/usr/bin/
  26. $(INSTALL_DIR) $(1)/usr/share/device-observatory
  27. $(INSTALL_DATA) $(PKG_BUILD_DIR)/misc/macdb.txt $(1)/usr/share/device-observatory/macdb.txt
  28. endef
  29. $(eval $(call BuildPackage,device-observatory))