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.

38 lines
844 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.0.9
  7. PKG_RELEASE:=1
  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. # set to 1 to enable debugging
  22. DEBUG:=1
  23. EXTRA_CFLAGS += \
  24. $(if $(DEBUG),-DAUC_DEBUG=ON)
  25. define Package/auc/install
  26. $(INSTALL_DIR) $(1)/usr/sbin
  27. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/auc $(1)/usr/sbin/
  28. endef
  29. $(eval $(call BuildPackage,auc))