2015-11-04 14:40:27 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# gauche
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2022-08-08 17:48:17 +02:00
|
|
|
GAUCHE_VERSION = 0.9.12
|
2015-11-04 14:40:27 +01:00
|
|
|
GAUCHE_SOURCE = Gauche-$(GAUCHE_VERSION).tgz
|
2022-08-08 17:48:17 +02:00
|
|
|
GAUCHE_SITE = https://github.com/shirok/Gauche/releases/download/release$(subst .,_,$(GAUCHE_VERSION))
|
2017-03-30 15:43:38 +02:00
|
|
|
GAUCHE_LICENSE = BSD-3-Clause, Boehm-gc, SRFI (srfi-11.scm), reload (reload.scm)
|
2015-11-04 14:40:27 +01:00
|
|
|
GAUCHE_LICENSE_FILES = COPYING
|
|
|
|
GAUCHE_DEPENDENCIES = host-gauche
|
|
|
|
|
2015-11-05 13:14:26 +01:00
|
|
|
HOST_GAUCHE_CONF_OPTS = --without-zlib
|
2022-08-09 21:09:26 +02:00
|
|
|
GAUCHE_CONF_OPTS = --with-libatomic-ops=none
|
2015-11-05 13:14:26 +01:00
|
|
|
|
2019-08-18 12:12:26 +02:00
|
|
|
# Enable embedded axTLS
|
|
|
|
GAUCHE_TLS_LIBS = axtls
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_MBEDTLS),y)
|
|
|
|
GAUCHE_TLS_LIBS += mbedtls
|
|
|
|
GAUCHE_DEPENDENCIES += mbedtls
|
|
|
|
endif
|
|
|
|
|
|
|
|
GAUCHE_CONF_OPTS += --with-tls="$(GAUCHE_TLS_LIBS)"
|
|
|
|
|
2015-11-05 13:14:26 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
|
|
GAUCHE_CONF_OPTS += --with-zlib=$(STAGING_DIR)
|
|
|
|
GAUCHE_DEPENDENCIES += zlib
|
|
|
|
else
|
|
|
|
GAUCHE_CONF_OPTS += --without-zlib
|
|
|
|
endif
|
|
|
|
|
2015-11-04 14:40:27 +01:00
|
|
|
# Detection of c99 support in configure fails without WCHAR. To enable
|
|
|
|
# automatic detection of c99 support by configure, we need to enable
|
|
|
|
# WCHAR in toolchain. But actually we do not need WCHAR at gauche
|
|
|
|
# runtime. So reuesting WCHAR in toolchain just for automatic detection
|
|
|
|
# will be overkill. To solve this, explicitly -std=gnu99 is specified
|
|
|
|
# here.
|
|
|
|
GAUCHE_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|
2018-04-29 14:15:20 +02:00
|
|
|
$(eval $(host-autotools-package))
|