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.

36 lines
876 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.2.4
  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. -D'AUC_VERSION=\"$(PKG_VERSION)-$(PKG_RELEASE)\"' \
  23. $(if $(CONFIG_DEBUG),-DAUC_DEBUG=ON)
  24. define Package/auc/install
  25. $(INSTALL_DIR) $(1)/usr/sbin
  26. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/auc $(1)/usr/sbin/
  27. endef
  28. $(eval $(call BuildPackage,auc))