summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libedit/libedit_20210522-3.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/libedit/libedit_20210522-3.1.bb')
-rw-r--r--meta/recipes-devtools/libedit/libedit_20210522-3.1.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-devtools/libedit/libedit_20210522-3.1.bb b/meta/recipes-devtools/libedit/libedit_20210522-3.1.bb
new file mode 100644
index 0000000000..43e6f2244b
--- /dev/null
+++ b/meta/recipes-devtools/libedit/libedit_20210522-3.1.bb
@@ -0,0 +1,24 @@
+SUMMARY = "BSD replacement for libreadline"
+DESCRIPTION = "Command line editor library providing generic line editing, \
+history, and tokenization functions"
+HOMEPAGE = "http://www.thrysoee.dk/editline/"
+SECTION = "libs"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://COPYING;md5=1e4228d0c5a9093b01aeaaeae6641533"
+
+DEPENDS = "ncurses"
+
+inherit autotools
+
+SRC_URI = "http://www.thrysoee.dk/editline/${BP}.tar.gz \
+ file://stdc-predef.patch \
+ "
+SRC_URI[sha256sum] = "0220bc2047e927c0c1984ef5f7b4eb2a9469a5b7bf12ba573ca3b23ca02bbb6f"
+
+BBCLASSEXTEND = "native nativesdk"
+
+inherit update-alternatives
+
+ALTERNATIVE_PRIORITY = "90"
+ALTERNATIVE_${PN}-doc = "history.3"
+ALTERNATIVE_LINK_NAME[history.3] = "${mandir}/man3/history.3"