2020-04-28 08:42:24 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# matio
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2022-10-30 14:07:23 +01:00
|
|
|
MATIO_VERSION = 1.5.23
|
2020-04-28 08:42:24 +02:00
|
|
|
MATIO_SITE = http://downloads.sourceforge.net/project/matio/matio/$(MATIO_VERSION)
|
|
|
|
MATIO_LICENSE = BSD-2-Clause
|
|
|
|
MATIO_LICENSE_FILES = COPYING
|
2021-03-05 23:27:44 +01:00
|
|
|
MATIO_CPE_ID_VENDOR = matio_project
|
2020-04-28 08:42:24 +02:00
|
|
|
MATIO_DEPENDENCIES = zlib
|
|
|
|
MATIO_INSTALL_STAGING = YES
|
|
|
|
|
|
|
|
# va_copy()
|
|
|
|
MATIO_CONF_ENV = ac_cv_va_copy=yes
|
|
|
|
|
2023-04-08 20:45:59 +02:00
|
|
|
MATIO_CFLAGS = $(TARGET_CFLAGS)
|
|
|
|
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_99410),y)
|
|
|
|
MATIO_CFLAGS += -O0
|
|
|
|
endif
|
|
|
|
|
|
|
|
MATIO_CONF_ENV += CFLAGS="$(MATIO_CFLAGS)"
|
|
|
|
|
2020-04-28 08:42:24 +02:00
|
|
|
# mat73 require hdf5 (not available), extented-sparse take 2KB
|
|
|
|
MATIO_CONF_OPTS = --disable-mat73 --enable-extended-sparse
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|