2016-08-22 20:52:34 +01:00
|
|
|
# This file is part of MXE. See LICENSE.md for licensing information.
|
2016-03-03 10:55:23 +00:00
|
|
|
|
|
|
|
PKG := coda
|
2016-12-18 05:43:56 +00:00
|
|
|
$(PKG)_WEBSITE := https://stcorp.nl/coda/
|
|
|
|
$(PKG)_DESCR := CODA
|
2016-03-03 10:55:23 +00:00
|
|
|
$(PKG)_IGNORE :=
|
2018-03-15 02:31:21 +00:00
|
|
|
$(PKG)_VERSION := 2.18.3
|
|
|
|
$(PKG)_CHECKSUM := e0f72ed7927431748907b57b3fcfa7515ee071162f138e784555d6ca377b9ffe
|
|
|
|
$(PKG)_GH_CONF := stcorp/coda/releases/latest
|
2017-11-25 13:36:07 +00:00
|
|
|
$(PKG)_DEPS := cc
|
2016-03-03 10:55:23 +00:00
|
|
|
|
|
|
|
define $(PKG)_BUILD
|
2018-03-15 02:31:21 +00:00
|
|
|
cd '$(BUILD_DIR)' && $(SOURCE_DIR)/configure \
|
2016-03-03 10:55:23 +00:00
|
|
|
$(MXE_CONFIGURE_OPTS) \
|
|
|
|
--disable-idl \
|
|
|
|
--disable-matlab \
|
|
|
|
--disable-python \
|
|
|
|
--without-hdf5 \
|
|
|
|
--without-hdf4
|
2018-03-15 02:31:21 +00:00
|
|
|
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)'
|
|
|
|
$(MAKE) -C '$(BUILD_DIR)' -j 1 install-libLTLIBRARIES install-nodist_includeHEADERS install-fortranDATA
|
2016-03-03 10:55:23 +00:00
|
|
|
|
|
|
|
'$(TARGET)-gcc' \
|
|
|
|
-std=c99 -W -Wall -Werror -pedantic \
|
2016-07-30 20:14:38 +01:00
|
|
|
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-coda.exe' \
|
2016-03-03 10:55:23 +00:00
|
|
|
-lcoda
|
|
|
|
endef
|