2016-03-03 15:27:41 +00:00
|
|
|
# This file is part of MXE.
|
|
|
|
# See index.html for further information.
|
|
|
|
|
|
|
|
PKG := hdf-eos5
|
|
|
|
$(PKG)_IGNORE :=
|
|
|
|
$(PKG)_VERSION := 1.15
|
|
|
|
$(PKG)_CHECKSUM := 119588067abf139c1c600a4519b880d04a3933049576c88acdc8ff6fc71803dd
|
|
|
|
$(PKG)_SUBDIR := hdfeos5
|
|
|
|
$(PKG)_FILE := HDF-EOS5.$($(PKG)_VERSION).tar.Z
|
|
|
|
$(PKG)_URL := ftp://edhs1.gsfc.nasa.gov/edhs/hdfeos5/latest_release/$($(PKG)_FILE)
|
|
|
|
$(PKG)_DEPS := gcc hdf5
|
|
|
|
|
|
|
|
define $(PKG)_UPDATE
|
|
|
|
echo 'TODO: write update script for hdf-eos5.' >&2;
|
|
|
|
echo $(hdf-eos5_VERSION)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(PKG)_BUILD
|
|
|
|
cd '$(1)' && chmod -R ugo+w .
|
|
|
|
cd '$(1)' && autoconf
|
|
|
|
cd '$(1)' && ./configure \
|
|
|
|
$(MXE_CONFIGURE_OPTS) \
|
|
|
|
--enable-install-include
|
|
|
|
|
|
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
|
|
|
$(MAKE) -C '$(1)' -j 1 install
|
|
|
|
|
|
|
|
'$(TARGET)-gcc' \
|
|
|
|
-std=c99 -W -Wall -Werror -pedantic \
|
2016-07-30 20:14:38 +01:00
|
|
|
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-$(PKG).exe' \
|
2016-03-03 15:27:41 +00:00
|
|
|
-lhe5_hdfeos -lhdf5_hl -lhdf5 -lz
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(PKG)_BUILD_SHARED =
|