mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 19:56:16 +04:00
* Brings support for future connexion based API. * read `detail` not `message` from server * use regular verrevcmp for branch names, fixes update indication * break out usage() from main() function * require '-f' in case installed package is missing in remote lists * don't use ENETUNREACH for unlrelated error * Fix check for mandatory fields (stray parenthesis) * Don't even fetch package lists if checking only for release. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit8486f64fea) (cherry picked from commit23ce5b0e6f) (cherry picked from commit2edbc4c805) (cherry picked from commitbd4ad7b0ba)
37 lines
876 B
Makefile
37 lines
876 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.2.4
|
|
PKG_RELEASE:=$(AUTORELEASE)
|
|
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 (EXPERIMENTAL)
|
|
DEPENDS:=+attendedsysupgrade-common +libblobmsg-json +libubox +libubus \
|
|
+libuci +libuclient +rpcd-mod-rpcsys
|
|
endef
|
|
|
|
define Package/auc/description
|
|
CLI client for attended-sysupgrade
|
|
endef
|
|
|
|
EXTRA_CFLAGS += \
|
|
-D'AUC_VERSION=\"$(PKG_VERSION)-$(PKG_RELEASE)\"' \
|
|
$(if $(CONFIG_DEBUG),-DAUC_DEBUG=ON)
|
|
|
|
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))
|