packages/utils/auc/Makefile
Daniel Golle 95d96a360f auc: add new package
The Attended sysUpgrade CLI is a full-featured client for the
attended-sysupgrade service which works directly on the target device.
It requires libustream-ssl as well as at least the CA certificate
needed to contact the sysupgrade server.

It has only been tested briefly and is by no means ready for
production!

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-11-12 23:33:15 +01:00

32 lines
747 B
Makefile

# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=auc
PKG_VERSION:=0.0.1
PKG_RELEASE=1
PKG_LICENSE:=GPL-3.0
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/auc
SECTION:=base
CATEGORY:=Base system
TITLE:=attended sysupgrade (CLI version)
DEPENDS:=+attendedsysupgrade-common +libblobmsg-json +libubox +libubus \
+libuci +libuclient +rpcd-mod-rpcsys
endef
define Package/auc/description
CLI client for attended-sysupgrade
endef
define Package/auc/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/auc $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,auc))