Add recipe: isocline 1.0.9

Isocline is a pure C library that can be used as an alternative to the GNU readline library.

Signed-off-by: Michael Fitzmayer <mail@michael-fitzmayer.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Michael Fitzmayer 2026-03-28 22:19:38 +01:00 committed by Khem Raj
parent d1f51bbd0a
commit 343f5a7a75
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -0,0 +1,28 @@
SUMMARY = "Isocline is a portable GNU readline alternative."
DESCRIPTION = "Isocline is a pure C library that can be used \
as an alternative to the GNU readline library. \
"
HOMEPAGE = "https://github.com/daanx/isocline"
BUGTRACKER = "https://github.com/daanx/isocline/issues"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=8d05469c537534c7405c82c81a526bcd"
SRC_URI = "git://github.com/daanx/isocline.git;protocol=https;branch=main;tag=v${PV}"
SRCREV = "74d34bc453f5b91f1f8d8ded2840e1553623d135"
inherit cmake
CFLAGS += "-fPIC"
do_install() {
install -d ${D}${libdir}
install -m 0644 ${B}/libisocline.a ${D}${libdir}/
install -d ${D}${includedir}
cp ${S}/include/isocline.h ${D}${includedir}/
}
FILES:${PN}-dev = "${libdir}/libisocline.a"
FILES:${PN}-dev = "${includedir}/isocline.h"
FILES:${PN}-dbg += "${libdir}/.debug/libisocline.a"