1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-14 11:23:57 +02:00
openwrt-packages/utils/ubnt-manager/Makefile
Nick Hainke 406abcbcc3 ubnt-manager: add ubnt-manager
This app makes it easier to work with AirOS devices. So far, only monitoring is implemented.

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit e4a8d3fc29)
2022-04-16 18:07:41 -04:00

41 lines
875 B
Makefile

# SPDX-License-Identifier: GPL-2.0-only
include $(TOPDIR)/rules.mk
PKG_NAME:=ubnt-manager
PKG_VERSION:=1
PKG_RELEASE:=$(AUTORELEASE)
PKG_MAINTAINER:=Nick Hainke <vincent@systemli.org>
PKG_LICENSE:=GPL-2.0-only
include $(INCLUDE_DIR)/package.mk
define Package/ubnt-manager
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Managment app for Ubiquiti devices
PKGARCH:=all
EXTRA_DEPENDS:=dropbear
endef
define Package/ubnt-manager/description
Managment app for Ubiquiti devices.
endef
define Package/ubnt-manager/conffiles
/etc/config/ubnt-manager
endef
define Build/Compile
endef
define Package/ubnt-manager/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) ./files/ubnt-manager.sh $(1)/usr/bin/ubnt-manager
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_DATA) ./files/ubnt-manager.config $(1)/etc/config/ubnt-manager
endef
$(eval $(call BuildPackage,ubnt-manager))