mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-21 14:53:54 -09:00
Release notes:
https://github.com/rscada/libmbus/blob/0.9.0/release_notes.txt
Downloading the source tarball is broken since at least Oct 30th, 2024
as reported by the buildroot autobuilders:
https://autobuild.buildroot.net/?reason=libmbus-0.8.0&step=50&start=50
Switching to the github helper provides the correct source code but the
tarball downloaded has a different hash. A quick search did not provide
alternative download locations for the original tarball
libmbus-0.8.0.tar.gz.
To solve the broken build we do not only switch _SITE to github but also
bump the package to 0.9.0 and add autoreconf which needs two directories
being created in _POST_PATCH_HOOKS. One missing directory was already
reported upstream: https://github.com/rscada/libmbus/issues/179
Updated license hash due to upstream commit:
ab8919136d
Fixes:
https://autobuild.buildroot.net/results/91a/91a82dc73bf87cf1969cd6a2ddea1809ab9a1613/
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
[Julien: change release notes url to use tag]
Signed-off-by: Julien Olivain <ju.o@free.fr>
22 lines
622 B
Makefile
22 lines
622 B
Makefile
################################################################################
|
|
#
|
|
# libmbus
|
|
#
|
|
################################################################################
|
|
|
|
LIBMBUS_VERSION = 0.9.0
|
|
LIBMBUS_SITE = $(call github,rscada,libmbus,$(LIBMBUS_VERSION))
|
|
LIBMBUS_INSTALL_STAGING = YES
|
|
LIBMBUS_LICENSE = BSD-3-Clause
|
|
LIBMBUS_LICENSE_FILES = COPYING
|
|
# github tarball does not include configure
|
|
LIBMBUS_AUTORECONF = YES
|
|
# Autoreconf is missing some directories
|
|
define LIBMBUS_CREATE_DIRS
|
|
mkdir -p $(@D)/libltdl
|
|
mkdir -p $(@D)/m4
|
|
endef
|
|
LIBMBUS_POST_PATCH_HOOKS += LIBMBUS_CREATE_DIRS
|
|
|
|
$(eval $(autotools-package))
|