c80f0490d9
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
34 lines
946 B
Makefile
34 lines
946 B
Makefile
################################################################################
|
|
#
|
|
# libedit
|
|
#
|
|
################################################################################
|
|
|
|
LIBEDIT_VERSION = 20150325-3.1
|
|
LIBEDIT_SITE = http://www.thrysoee.dk/editline
|
|
LIBEDIT_INSTALL_STAGING = YES
|
|
LIBEDIT_DEPENDENCIES = ncurses
|
|
LIBEDIT_LICENSE = BSD-3c
|
|
LIBEDIT_LICENSE_FILES = COPYING
|
|
|
|
# We're patching configure.ac
|
|
LIBEDIT_AUTORECONF = YES
|
|
|
|
# Needed for autoreconf to work properly
|
|
define LIBEDIT_FIXUP_M4_DIR
|
|
mkdir $(@D)/m4
|
|
endef
|
|
LIBEDIT_POST_EXTRACT_HOOKS += LIBEDIT_FIXUP_M4_DIR
|
|
|
|
# Doesn't really support !wchar, but support is disabled otherwise
|
|
LIBEDIT_CONF_OPTS += --enable-widec
|
|
|
|
# Note: libbsd required for *vis functions, but works only with a toolchain
|
|
# with __progname; otherwise, some features are disabled, as if libbsd was
|
|
# missing entirely.
|
|
ifeq ($(BR2_PACKAGE_LIBBSD),y)
|
|
LIBEDIT_DEPENDENCIES += libbsd
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|