package: remove non-conventional prefix/suffix from tarball-fetched packages

While most projects name their tarball <name>-<version>, where
<version> is just the version number, some other projects add some
prefix and/or suffix to their version number.

In Buildroot, we currently encode the full version (with its
prefix/suffix) in the <pkg>_VERSION variable. However, that doesn't
work well to match version numbers with the release-monitoring.org
website, which filters such prefixes/suffixes.

This commit therefore removes the prefix/suffix from tarball-fetched
packages. The name of the files being downloaded does not change.

Signed-off-by: Victor Huesca <victor.huesca@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Victor Huesca 2019-06-12 08:42:09 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 61540644fe
commit 360a062147
5 changed files with 11 additions and 9 deletions

View File

@ -4,9 +4,9 @@
#
################################################################################
LIBCUEFILE_VERSION = r475
LIBCUEFILE_VERSION = 475
LIBCUEFILE_SITE = http://files.musepack.net/source
LIBCUEFILE_SOURCE = libcuefile_$(LIBCUEFILE_VERSION).tar.gz
LIBCUEFILE_SOURCE = libcuefile_r$(LIBCUEFILE_VERSION).tar.gz
LIBCUEFILE_INSTALL_STAGING = YES
LIBCUEFILE_LICENSE = GPL-2.0+
LIBCUEFILE_LICENSE_FILES = COPYING

View File

@ -4,8 +4,9 @@
#
################################################################################
LIBEVENT_VERSION = 2.1.10-stable
LIBEVENT_SITE = https://github.com/libevent/libevent/releases/download/release-$(LIBEVENT_VERSION)
LIBEVENT_VERSION = 2.1.10
LIBEVENT_SITE = https://github.com/libevent/libevent/releases/download/release-$(LIBEVENT_VERSION)-stable
LIBEVENT_SOURCE = libevent-$(LIBEVENT_VERSION)-stable.tar.gz
LIBEVENT_INSTALL_STAGING = YES
LIBEVENT_LICENSE = BSD-3-Clause, OpenBSD
LIBEVENT_LICENSE_FILES = LICENSE

View File

@ -4,8 +4,9 @@
#
################################################################################
LSHW_VERSION = B.02.18
LSHW_VERSION = 02.18
LSHW_SITE = http://ezix.org/software/files
LSHW_SOURCE = lshw-B.$(LSHW_VERSION).tar.gz
LSHW_LICENSE = GPL-2.0
LSHW_LICENSE_FILES = COPYING

View File

@ -4,8 +4,8 @@
#
################################################################################
MKSH_VERSION = R55
MKSH_SOURCE = mksh-$(MKSH_VERSION).tgz
MKSH_VERSION = 55
MKSH_SOURCE = mksh-R$(MKSH_VERSION).tgz
MKSH_SITE = https://www.mirbsd.org/MirOS/dist/mir/mksh
# For MirOS License see https://www.mirbsd.org/TaC-mksh.txt
MKSH_LICENSE = MirOS, ISC

View File

@ -4,9 +4,9 @@
#
################################################################################
ZYNQ_BOOT_BIN_VERSION = xilinx-v2015.1
ZYNQ_BOOT_BIN_VERSION = 2015.1
ZYNQ_BOOT_BIN_SOURCE = zynq-boot-bin.py
ZYNQ_BOOT_BIN_SITE = https://raw.githubusercontent.com/Xilinx/u-boot-xlnx/$(ZYNQ_BOOT_BIN_VERSION)/tools
ZYNQ_BOOT_BIN_SITE = https://raw.githubusercontent.com/Xilinx/u-boot-xlnx/xilinx-v$(ZYNQ_BOOT_BIN_VERSION)/tools
ZYNQ_BOOT_BIN_LICENSE = GPL-3.0+
HOST_ZYNQ_BOOT_BIN_DEPENDENCIES = host-python