mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
10
package/gsl/Config.in
Normal file
10
package/gsl/Config.in
Normal file
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_GSL
|
||||
bool "gsl"
|
||||
help
|
||||
The GNU Scientific Library (GSL) is a numerical library for
|
||||
C and C++ programmers. The library provides a wide range of
|
||||
mathematical routines such as random number generators,
|
||||
special functions and least-squares fitting. There are over
|
||||
1000 functions in total with an extensive test suite.
|
||||
|
||||
http://www.gnu.org/software/gsl
|
||||
3
package/gsl/gsl.hash
Normal file
3
package/gsl/gsl.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 0460ad7c2542caaddc6729762952d345374784100223995eb14d614861f2258d gsl-2.5.tar.gz
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
|
||||
27
package/gsl/gsl.mk
Normal file
27
package/gsl/gsl.mk
Normal file
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# gsl
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GSL_VERSION = 2.5
|
||||
GSL_SITE = $(BR2_GNU_MIRROR)/gsl
|
||||
GSL_INSTALL_STAGING = YES
|
||||
GSL_LICENSE = GPL-3.0
|
||||
GSL_LICENSE_FILES = COPYING
|
||||
GSL_CONFIG_SCRIPTS = gsl-config
|
||||
|
||||
# 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.
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
||||
ifneq ($(BR2_i386),y)
|
||||
GSL_CONF_ENV = \
|
||||
ac_cv_have_decl_feenableexcept=no \
|
||||
ac_cv_have_decl_fesettrapenable=no
|
||||
endif
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user