From 935f883375081267833910e5aae1caff07af8fb0 Mon Sep 17 00:00:00 2001 From: Chi Huu Huynh <73843190+Chi-EEE@users.noreply.github.com> Date: Fri, 22 Dec 2023 14:26:41 +0000 Subject: [PATCH] cppgpio: change versioning to use commit instead (#2987) --- packages/c/cppgpio/xmake.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/c/cppgpio/xmake.lua b/packages/c/cppgpio/xmake.lua index f42365463ca..75d4c48f7e4 100644 --- a/packages/c/cppgpio/xmake.lua +++ b/packages/c/cppgpio/xmake.lua @@ -2,10 +2,11 @@ package("cppgpio") set_homepage("https://github.com/JoachimSchurig/CppGPIO") set_description("C++14 GPIO library for embedded systems on Linux") - add_urls("https://github.com/JoachimSchurig/CppGPIO/archive/refs/tags/$(version).tar.gz", - "https://github.com/JoachimSchurig/CppGPIO.git") + set_urls("https://github.com/JoachimSchurig/CppGPIO.git") - add_versions("v1.0.2", "53172c0f02516861bca1d1095d9275d569427ec99d63ca2b21ab8d42589c6bb1") + add_versions("2022.02.20", "f76e8fc8f8fa8d8b5643ba9dfac44de7664c9c23") + add_versions("2016.04.04", "2653a5876df8d23041eddc56e57ebd5e3ac167d1") + add_versions("2016.03.11", "ba6fc634ebe2b519dba98dd11dc36dbda331ecc0") on_install("linux", function (package) io.writefile("xmake.lua", [[