2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-03-21 00:16:57 +01:00
|
|
|
#
|
2013-06-06 01:53:29 +02:00
|
|
|
# gsl
|
2012-03-21 00:16:57 +01:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2019-08-04 10:11:19 +02:00
|
|
|
GSL_VERSION = 2.5
|
2012-03-21 00:16:57 +01:00
|
|
|
GSL_SITE = $(BR2_GNU_MIRROR)/gsl
|
|
|
|
GSL_INSTALL_STAGING = YES
|
2017-03-30 15:43:33 +02:00
|
|
|
GSL_LICENSE = GPL-3.0
|
2012-03-21 00:16:57 +01:00
|
|
|
GSL_LICENSE_FILES = COPYING
|
2013-05-10 08:29:25 +02:00
|
|
|
GSL_CONFIG_SCRIPTS = gsl-config
|
2012-03-21 00:16:57 +01:00
|
|
|
|
2012-11-17 13:24:04 +01:00
|
|
|
# uClibc pretends to have fenv support as it installs <fenv.h>, but in
|
|
|
|
# practice, it only implements it for i386. Problem reported upstream
|
|
|
|
# at: http://lists.busybox.net/pipermail/uclibc/2012-October/047067.html.
|
|
|
|
# So we tell gsl that fenv related functions are not available in this
|
|
|
|
# case.
|
2013-06-30 21:29:09 +02:00
|
|
|
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
2012-11-17 13:24:04 +01:00
|
|
|
ifneq ($(BR2_i386),y)
|
|
|
|
GSL_CONF_ENV = \
|
2014-10-25 20:29:31 +02:00
|
|
|
ac_cv_have_decl_feenableexcept=no \
|
|
|
|
ac_cv_have_decl_fesettrapenable=no
|
2012-11-17 13:24:04 +01:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2012-03-21 00:16:57 +01:00
|
|
|
$(eval $(autotools-package))
|