2005-02-25 03:36:58 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
2005-06-24 00:49:33 +02:00
|
|
|
# build GNU readline
|
2005-02-25 03:36:58 +01: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_INSTALL_TARGET = YES
|
|
|
|
|
|
|
|
READLINE_DEPENDENCIES = ncurses
|
|
|
|
|
|
|
|
READLINE_CONF_ENV = bash_cv_func_sigsetjmp=yes
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
$(eval $(call AUTOTARGETS,package,readline))
|