![Fabrice Fontaine](/assets/img/avatar_default.png)
- Remove first patch (already in version) and so remove READLINE_AUTOCONF as configure.ac is not patched anymore - Use the new --disable-install-examples option and remove READLINE_PURGE_EXAMPLES - Remove READLINE_INSTALL_PC_FILE as readline.pc is installed since: http://git.savannah.gnu.org/cgit/readline.git/commit/Makefile.in?id=8e6ccd0373d77b86ed37a9a7d232ccfea3d6670c - Remove READLINE_INSTALL_FIXUPS_SHARED (libraries are installed with correct rights) - Add hash for license file Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
25 lines
801 B
Makefile
25 lines
801 B
Makefile
################################################################################
|
|
#
|
|
# readline
|
|
#
|
|
################################################################################
|
|
|
|
READLINE_VERSION = 8.0
|
|
READLINE_SITE = $(BR2_GNU_MIRROR)/readline
|
|
READLINE_INSTALL_STAGING = YES
|
|
READLINE_DEPENDENCIES = ncurses host-autoconf
|
|
HOST_READLINE_DEPENDENCIES = host-ncurses host-autoconf
|
|
READLINE_CONF_ENV = bash_cv_func_sigsetjmp=yes \
|
|
bash_cv_wcwidth_broken=no
|
|
READLINE_CONF_OPTS = --disable-install-examples
|
|
READLINE_LICENSE = GPL-3.0+
|
|
READLINE_LICENSE_FILES = COPYING
|
|
|
|
define READLINE_INSTALL_INPUTRC
|
|
$(INSTALL) -D -m 644 package/readline/inputrc $(TARGET_DIR)/etc/inputrc
|
|
endef
|
|
READLINE_POST_INSTALL_TARGET_HOOKS += READLINE_INSTALL_INPUTRC
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|