1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-15 20:03:57 +02:00
openwrt-packages/utils/device-observatory/Makefile
Sven Eckelmann bbb1ea7345 treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL
licenses. But a lot of packages did use a different, non-SPDX style with a
"+" at the end instead of "-or-later".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-09-10 07:45:15 +02:00

38 lines
1.1 KiB
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=device-observatory
PKG_VERSION:=1.2.0
PKG_RELEASE:=5
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
PKG_BUILD_DEPENDS:=vim/host
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/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))