libconfuse: switch to release tar archive

Building autotools packages from git can be a bit tricky and requires
manual invocations of autogen.sh, etc.

An attempt to build for native build fails with:

| autoreconf: running: autopoint --force
| Can't exec "autopoint": No such file or directory at [..]/tmp/work/x86_64-linux/libconfuse-native/3.3/recipe-sysroot-native/usr/share/autoconf/Autom4te/FileUtils.pm line 318.
| autoreconf: error: autopoint failed with exit status: 2
| WARNING: exit code 2 from a shell command.

Since the project itself states

> Please ensure you download a versioned archive from:
> https://github.com/libconfuse/libconfuse/releases/

simply switch this recipe to using release archives and thus simplify it
and fix the automake issue.

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Enrico Jörns 2024-09-10 22:06:51 +02:00 committed by Khem Raj
parent 2f95897a63
commit 5c87230ad0
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -2,15 +2,11 @@ SUMMARY = "libConfuse is a configuration file parser library"
LICENSE = "ISC"
LIC_FILES_CHKSUM = "file://LICENSE;md5=42fa47330d4051cd219f7d99d023de3a"
SRCREV = "a42aebf13db33afd575da6e63f55163d371f776d"
SRC_URI = "git://github.com/libconfuse/libconfuse.git;branch=master;protocol=https"
SRC_URI = "https://github.com/libconfuse/libconfuse/releases/download/v${PV}/confuse-${PV}.tar.gz"
SRC_URI[sha256sum] = "3a59ded20bc652eaa8e6261ab46f7e483bc13dad79263c15af42ecbb329707b8"
inherit autotools-brokensep pkgconfig gettext
S = "${WORKDIR}/git"
do_configure:prepend(){
(cd ${S} && ${S}/autogen.sh)
}
S = "${WORKDIR}/confuse-${PV}"
BBCLASSEXTEND = "native nativesdk"