2015-11-04 14:40:27 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# gauche
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
GAUCHE_VERSION = 0.9.4
|
|
|
|
GAUCHE_SOURCE = Gauche-$(GAUCHE_VERSION).tgz
|
|
|
|
GAUCHE_SITE = http://downloads.sourceforge.net/project/gauche/Gauche
|
|
|
|
GAUCHE_LICENSE = BSD-3c, Boehm-gc, SRFI (srfi-11.scm), reload (reload.scm)
|
|
|
|
GAUCHE_LICENSE_FILES = COPYING
|
|
|
|
GAUCHE_DEPENDENCIES = host-gauche
|
2015-12-17 11:47:34 +01:00
|
|
|
GAUCHE_PATCH = https://github.com/shirok/Gauche/commit/13a196557848f22a1607a300643131345e9f32b3.patch
|
2015-11-04 14:40:27 +01:00
|
|
|
|
2015-11-05 13:14:26 +01:00
|
|
|
HOST_GAUCHE_CONF_OPTS = --without-zlib
|
2015-11-13 11:06:04 +01:00
|
|
|
GAUCHE_CONF_OPTS = --without-libatomic-ops
|
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 $(host-autotools-package))
|
|
|
|
$(eval $(autotools-package))
|