blob: 8416eff13d296f1c65dab993571e60416f7b66be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# 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))
|