buildroot/package/libcuefile/libcuefile.mk
Victor Huesca 360a062147 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>
2019-06-20 23:20:28 +02:00

26 lines
772 B
Makefile

################################################################################
#
# libcuefile
#
################################################################################
LIBCUEFILE_VERSION = 475
LIBCUEFILE_SITE = http://files.musepack.net/source
LIBCUEFILE_SOURCE = libcuefile_r$(LIBCUEFILE_VERSION).tar.gz
LIBCUEFILE_INSTALL_STAGING = YES
LIBCUEFILE_LICENSE = GPL-2.0+
LIBCUEFILE_LICENSE_FILES = COPYING
define LIBCUEFILE_INSTALL_STAGING_INCLUDES
cp -r $(@D)/include $(STAGING_DIR)/usr
endef
define LIBCUEFILE_INSTALL_TARGET_INCLUDES
cp -r $(@D)/include $(TARGET_DIR)/usr
endef
LIBCUEFILE_POST_INSTALL_STAGING_HOOKS += LIBCUEFILE_INSTALL_STAGING_INCLUDES
LIBCUEFILE_POST_INSTALL_TARGET_HOOKS += LIBCUEFILE_INSTALL_TARGET_INCLUDES
$(eval $(cmake-package))