2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2005-02-25 03:36:58 +01:00
|
|
|
#
|
2013-06-06 01:53:29 +02:00
|
|
|
# readline
|
2005-02-25 03:36:58 +01:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-04-26 16:56:49 +02:00
|
|
|
|
|
|
|
READLINE_VERSION = 6.2
|
2010-01-27 02:08:58 +01:00
|
|
|
READLINE_SOURCE = readline-$(READLINE_VERSION).tar.gz
|
|
|
|
READLINE_SITE = $(BR2_GNU_MIRROR)/readline
|
|
|
|
READLINE_INSTALL_STAGING = YES
|
|
|
|
READLINE_DEPENDENCIES = ncurses
|
|
|
|
READLINE_CONF_ENV = bash_cv_func_sigsetjmp=yes
|
2013-01-22 04:35:51 +01:00
|
|
|
READLINE_LICENSE = GPLv3+
|
|
|
|
READLINE_LICENSE_FILES = COPYING
|
2010-01-27 02:08:58 +01:00
|
|
|
|
|
|
|
define READLINE_INSTALL_TARGET_CMDS
|
|
|
|
$(MAKE1) DESTDIR=$(TARGET_DIR) -C $(@D) uninstall
|
|
|
|
$(MAKE1) DESTDIR=$(TARGET_DIR) -C $(@D) install-shared uninstall-doc
|
|
|
|
chmod 775 $(TARGET_DIR)/usr/lib/libreadline.so.$(READLINE_VERSION) \
|
|
|
|
$(TARGET_DIR)/usr/lib/libhistory.so.$(READLINE_VERSION)
|
|
|
|
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) \
|
|
|
|
$(TARGET_DIR)/usr/lib/libreadline.so.$(READLINE_VERSION) \
|
|
|
|
$(TARGET_DIR)/usr/lib/libhistory.so.$(READLINE_VERSION)
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|