diff mbox series

[meta-oe] Add recipe: isocline 1.0.9

Message ID 20260328211938.2297408-1-mail@michael-fitzmayer.de
State Under Review
Headers show
Series [meta-oe] Add recipe: isocline 1.0.9 | expand

Commit Message

Michael Fitzmayer March 28, 2026, 9:19 p.m. UTC
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>
---
 .../isocline/isocline_1.0.9.bb                | 28 +++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/isocline/isocline_1.0.9.bb
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/isocline/isocline_1.0.9.bb b/meta-oe/recipes-devtools/isocline/isocline_1.0.9.bb
new file mode 100644
index 0000000000..2afc4500df
--- /dev/null
+++ b/meta-oe/recipes-devtools/isocline/isocline_1.0.9.bb
@@ -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"