1################################################################################ 2# 3# libedit 4# 5################################################################################ 6 7LIBEDIT_VERSION = 20191231-3.1 8LIBEDIT_SITE = http://www.thrysoee.dk/editline 9LIBEDIT_INSTALL_STAGING = YES 10LIBEDIT_DEPENDENCIES = ncurses 11LIBEDIT_LICENSE = BSD-3-Clause 12LIBEDIT_LICENSE_FILES = COPYING 13 14# We're patching configure.ac 15LIBEDIT_AUTORECONF = YES 16 17# musl is ISO 10646 compliant but doesn't define __STDC_ISO_10646__, 18# so let's define it manually 19ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) 20LIBEDIT_CONF_OPTS += CFLAGS="$(TARGET_CFLAGS) -D__STDC_ISO_10646__=201103L" 21endif 22 23# Note: libbsd required for *vis functions, but works only with a toolchain 24# with __progname; otherwise, some features are disabled, as if libbsd was 25# missing entirely. 26ifeq ($(BR2_PACKAGE_LIBBSD),y) 27LIBEDIT_DEPENDENCIES += libbsd 28endif 29 30$(eval $(autotools-package)) 31