mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-01 03:26:51 +00:00
e8725a932e
Different from OPKG, APK uses a deterministic version schema which chips the version into chunks and compares them individually. This enforces a certain schema which was previously entirely flexible. - Releases are added at the very and end prefixed with an `r` like `1.2.3-r3`. - Hashes are prefixed with a `~` like `1.2.3~abc123`. - Dates become semantic versions, like `2024.04.01` - Extra tags are possible like `_git`, `_alpha` and more. For full details see the APK test list: https://gitlab.alpinelinux.org/alpine/apk-tools/-/blob/master/test/version.data Signed-off-by: Paul Spooren <mail@aparcar.org>
33 lines
824 B
Makefile
33 lines
824 B
Makefile
#
|
|
# Copyright (c) 2017-2019 Tomasz Maciej Nowak <tmn505@gmail.com>
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME := cbootimage-configs
|
|
|
|
PKG_SOURCE_DATE := 2017-04-13
|
|
PKG_SOURCE_PROTO := git
|
|
PKG_SOURCE_URL := https://github.com/NVIDIA/cbootimage-configs.git
|
|
PKG_SOURCE_VERSION := 7c3b458b93ed6947cd083623f543e93f9103cc0f
|
|
PKG_MIRROR_HASH := 56c01f0339a3b4bee4ce31db253bb614d04f4e17a13793e873d701ec1a0de91b
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
define Host/Compile
|
|
endef
|
|
|
|
define Host/Install
|
|
$(INSTALL_DIR) $(STAGING_DIR_HOST)/share/$(PKG_NAME)
|
|
$(CP) $(HOST_BUILD_DIR)/* \
|
|
$(STAGING_DIR_HOST)/share/$(PKG_NAME)
|
|
endef
|
|
|
|
define Host/Clean
|
|
rm -fR $(STAGING_DIR_HOST)/share/$(PKG_NAME)
|
|
endef
|
|
|
|
$(eval $(call HostBuild))
|