cjdns: switch version to be APK compatible

With a switch to APK, the version schema becomes a hard requirement and
may not contain arbitrary letters. Remove the `v` and attach it only
while downloading/building.

Signed-off-by: Paul Spooren <mail@aparcar.org>
This commit is contained in:
Paul Spooren 2024-04-07 12:21:39 +02:00
parent 334058d94d
commit 0fd00a756f
1 changed files with 3 additions and 3 deletions

View File

@ -17,13 +17,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=cjdns
PKG_VERSION:=v21.1
PKG_VERSION:=21.1
PKG_RELEASE:=5
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/cjdelisle/cjdns/tar.gz/$(PKG_NAME)-$(PKG_VERSION)?
PKG_SOURCE_URL:=https://codeload.github.com/cjdelisle/cjdns/tar.gz/$(PKG_NAME)-v$(PKG_VERSION)?
PKG_HASH:=a6158ce7847159aa44e86f74ccc7b6ded6910a230ed8f3830db53cda5838f0b0
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_NAME)-v$(PKG_VERSION)
PKG_MAINTAINER:=William Fleurant <meshnet@protonmail.com>
PKG_LICENSE:=GPL-3.0-or-later