2013-06-05 17:53:30 -06:00
|
|
|
################################################################################
|
2013-05-14 05:45:58 -06:00
|
|
|
#
|
|
|
|
# libedit
|
|
|
|
#
|
2013-06-05 17:53:30 -06:00
|
|
|
################################################################################
|
2013-05-14 05:45:58 -06:00
|
|
|
|
2023-06-10 03:06:08 -06:00
|
|
|
LIBEDIT_VERSION = 20221030-3.1
|
|
|
|
LIBEDIT_SITE = https://www.thrysoee.dk/editline
|
2013-05-14 05:45:58 -06:00
|
|
|
LIBEDIT_INSTALL_STAGING = YES
|
2014-06-26 13:20:55 -06:00
|
|
|
LIBEDIT_DEPENDENCIES = ncurses
|
2017-03-30 07:43:38 -06:00
|
|
|
LIBEDIT_LICENSE = BSD-3-Clause
|
2014-06-26 13:20:55 -06:00
|
|
|
LIBEDIT_LICENSE_FILES = COPYING
|
2013-07-29 10:44:17 -06:00
|
|
|
|
|
|
|
# We're patching configure.ac
|
2014-06-26 13:20:55 -06:00
|
|
|
LIBEDIT_AUTORECONF = YES
|
2013-07-29 10:44:17 -06:00
|
|
|
|
2016-01-06 17:41:17 -07:00
|
|
|
# musl is ISO 10646 compliant but doesn't define __STDC_ISO_10646__,
|
|
|
|
# so let's define it manually
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
|
|
|
|
LIBEDIT_CONF_OPTS += CFLAGS="$(TARGET_CFLAGS) -D__STDC_ISO_10646__=201103L"
|
|
|
|
endif
|
|
|
|
|
2013-07-29 10:44:17 -06:00
|
|
|
# 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)
|
2014-06-26 13:20:55 -06:00
|
|
|
LIBEDIT_DEPENDENCIES += libbsd
|
2013-07-29 10:44:17 -06:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|