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.

40 lines
875 B

  1. # SPDX-License-Identifier: GPL-2.0-only
  2. include $(TOPDIR)/rules.mk
  3. PKG_NAME:=ubnt-manager
  4. PKG_VERSION:=1
  5. PKG_RELEASE:=$(AUTORELEASE)
  6. PKG_MAINTAINER:=Nick Hainke <vincent@systemli.org>
  7. PKG_LICENSE:=GPL-2.0-only
  8. include $(INCLUDE_DIR)/package.mk
  9. define Package/ubnt-manager
  10. SECTION:=utils
  11. CATEGORY:=Utilities
  12. TITLE:=Managment app for Ubiquiti devices
  13. PKGARCH:=all
  14. EXTRA_DEPENDS:=dropbear
  15. endef
  16. define Package/ubnt-manager/description
  17. Managment app for Ubiquiti devices.
  18. endef
  19. define Package/ubnt-manager/conffiles
  20. /etc/config/ubnt-manager
  21. endef
  22. define Build/Compile
  23. endef
  24. define Package/ubnt-manager/install
  25. $(INSTALL_DIR) $(1)/usr/bin
  26. $(INSTALL_BIN) ./files/ubnt-manager.sh $(1)/usr/bin/ubnt-manager
  27. $(INSTALL_DIR) $(1)/etc/config
  28. $(INSTALL_DATA) ./files/ubnt-manager.config $(1)/etc/config/ubnt-manager
  29. endef
  30. $(eval $(call BuildPackage,ubnt-manager))