1 DESCRIPTION = "The GNU Readline library provides a set of functions for use by applications that allow users to edit \
2 command lines as they are typed in. Both Emacs and vi editing modes are available. The Readline library includes \
3 additional functions to maintain a list of previously-entered command lines, to recall and perhaps reedit those \
4 lines, and perform csh-like history expansion on previous commands."
7 MAINTAINER = "Greg Gilbert <greg@treke.net>"
10 RPROVIDES_${PN} += "readline"
11 LEAD_SONAME = "libreadline.so"
14 SRC_URI = "ftp://ftp.cwru.edu/pub/bash/readline-${PV}.tar.gz \
15 file://shlink-termcap.patch;patch=1 \
17 S = "${WORKDIR}/readline-${PV}"
22 install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/
23 autotools_do_configure
28 # Make install doesn't properly install these
29 oe_libinstall -so -C shlib libhistory ${D}${libdir}
30 oe_libinstall -so -C shlib libreadline ${D}${libdir}
34 oe_libinstall -a libhistory ${STAGING_LIBDIR}
35 oe_libinstall -a libreadline ${STAGING_LIBDIR}
36 oe_libinstall -so -C shlib libhistory ${STAGING_LIBDIR}
37 oe_libinstall -so -C shlib libreadline ${STAGING_LIBDIR}
39 install -d ${STAGING_INCDIR}/readline
40 for f in readline.h chardefs.h keymaps.h history.h tilde.h rlstdc.h \
43 install -m 0644 $f ${STAGING_INCDIR}/readline/