blob: 3f662c3070ad78f37b52a3d6d7b526ff8e8f7df9 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Library for editing typed command lines"
2DESCRIPTION = "The GNU Readline library provides a set of functions for use by applications that allow users to edit \
3command lines as they are typed in. Both Emacs and vi editing modes are available. The Readline library includes \
4additional functions to maintain a list of previously-entered command lines, to recall and perhaps reedit those \
5lines, and perform csh-like history expansion on previous commands."
6SECTION = "libs"
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;name=archive \
15 file://configure-fix.patch \
16 file://config-dirent-symbols.patch \
17 file://norpath.patch"
18
19inherit autotools texinfo
20
21EXTRA_AUTORECONF += "--exclude=autoheader"
22
23LEAD_SONAME = "libreadline.so"
24
25do_configure_prepend () {
26 if [ ! -e ${S}/acinclude.m4 ]; then
27 cat ${S}/aclocal.m4 > ${S}/acinclude.m4
28 fi
29}
30
31do_install_append () {
32 # Make install doesn't properly install these
33 oe_libinstall -so -C shlib libhistory ${D}${libdir}
34 oe_libinstall -so -C shlib libreadline ${D}${libdir}
35
36 rmdir ${D}${bindir}
37}
38
39BBCLASSEXTEND = "native nativesdk"