summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/readline/readline.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/readline/readline.inc')
-rw-r--r--meta/recipes-core/readline/readline.inc34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-core/readline/readline.inc b/meta/recipes-core/readline/readline.inc
new file mode 100644
index 0000000000..35bc7ed946
--- /dev/null
+++ b/meta/recipes-core/readline/readline.inc
@@ -0,0 +1,34 @@
1DESCRIPTION = "The GNU Readline library provides a set of functions for use by applications that allow users to edit \
2command lines as they are typed in. Both Emacs and vi editing modes are available. The Readline library includes \
3additional functions to maintain a list of previously-entered command lines, to recall and perhaps reedit those \
4lines, and perform csh-like history expansion on previous commands."
5SECTION = "libs"
6PRIORITY = "optional"
7
8# GPLv2+ (< 6.0), GPLv3+ (>= 6.0)
9LICENSE = "GPLv3+"
10LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
11
12DEPENDS += "ncurses"
13
14SRC_URI = "${GNU_MIRROR}/readline/${BPN}-${PV}.tar.gz \
15 file://configure-fix.patch \
16 file://acinclude.m4"
17
18S = "${WORKDIR}/${BPN}-${PV}"
19
20inherit autotools
21
22LEAD_SONAME = "libreadline.so"
23
24do_configure_prepend () {
25 install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/
26}
27
28do_install_append () {
29 # Make install doesn't properly install these
30 oe_libinstall -so -C shlib libhistory ${D}${libdir}
31 oe_libinstall -so -C shlib libreadline ${D}${libdir}
32}
33
34BBCLASSEXTEND = "native nativesdk"