packages/utils/device-observatory/Makefile
Rosen Penev 74daf78dd6 vim: remove vim/host
The only use of it is for xxd. tools/xxd was added in base so this can
go.

https://github.com/openwrt/openwrt/commit/c4dd2441e7

added it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-17 10:04:40 +01:00

40 lines
1.2 KiB
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=device-observatory
PKG_VERSION:=1.2.0
PKG_RELEASE:=7
PKG_SOURCE_URL:=https://codeload.github.com/mwarning/device-observatory/tar.gz/v$(PKG_VERSION)?
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_HASH:=83b3f362f154a427abbd3af31b3c2dda9983cdc15f6b833d804727ef0fbdc72e
PKG_LICENSE:=GPL-3.0-or-later
include $(INCLUDE_DIR)/package.mk
define Package/device-observatory
SECTION:=utils
CATEGORY:=Utilities
TITLE:=device-observatory
MAINTAINER:=Moritz Warning <moritzwarning@web.de>
URL:=https://github.com/mwarning/device-observatory/
DEPENDS:=+iw +libpcap +libmicrohttpd
endef
define Package/device-observatory/conffiles
/etc/config/device-observatory
endef
define Package/device-observatory/description
Show information about connected devices and connections to increase security awareness.
endef
define Package/device-observatory/install
$(CP) files/* $(1)
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/device-observatory $(1)/usr/bin/
$(INSTALL_DIR) $(1)/usr/share/device-observatory
$(INSTALL_DATA) $(PKG_BUILD_DIR)/misc/macdb.txt $(1)/usr/share/device-observatory/macdb.txt
endef
$(eval $(call BuildPackage,device-observatory))