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.

35 lines
823 B

  1. # This is free software, licensed under the GNU General Public License v2.
  2. # See /LICENSE for more information.
  3. #
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=auc
  6. PKG_VERSION:=0.1.5
  7. PKG_RELEASE:=$(AUTORELEASE)
  8. PKG_LICENSE:=GPL-3.0
  9. include $(INCLUDE_DIR)/package.mk
  10. include $(INCLUDE_DIR)/cmake.mk
  11. define Package/auc
  12. SECTION:=base
  13. CATEGORY:=Base system
  14. TITLE:=Attended sysUpgrade CLI (EXPERIMENTAL)
  15. DEPENDS:=+attendedsysupgrade-common +libblobmsg-json +libubox +libubus \
  16. +libuci +libuclient +rpcd-mod-rpcsys
  17. endef
  18. define Package/auc/description
  19. CLI client for attended-sysupgrade
  20. endef
  21. EXTRA_CFLAGS += \
  22. $(if $(CONFIG_DEBUG),-DAUC_DEBUG=ON)
  23. define Package/auc/install
  24. $(INSTALL_DIR) $(1)/usr/sbin
  25. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/auc $(1)/usr/sbin/
  26. endef
  27. $(eval $(call BuildPackage,auc))