comparison src/netcdf.mk @ 3665:d28dcb8df4eb

netcdf: update version * src/netcdf.mk: update to 4.3.2, use CONFIGURE_CPPFLAGS
author John Donoghue
date Sat, 26 Jul 2014 08:22:13 -0400
parents 87eb6b4bf898
children 0aa02478a5d9
comparison
equal deleted inserted replaced
3664:ec301e1de20f 3665:d28dcb8df4eb
1 # This file is part of MXE. 1 # This file is part of MXE.
2 # See index.html for further information. 2 # See index.html for further information.
3 3
4 PKG := netcdf 4 PKG := netcdf
5 $(PKG)_IGNORE := 5 $(PKG)_IGNORE :=
6 $(PKG)_VERSION := 4.3.0 6 $(PKG)_VERSION := 4.3.2
7 $(PKG)_CHECKSUM := 246e4963e66e1c175563cc9a714e9da0a19b8b07 7 $(PKG)_CHECKSUM := 6e1bacab02e5220954fe0328d710ebb71c071d19
8 $(PKG)_SUBDIR := netcdf-$($(PKG)_VERSION) 8 $(PKG)_SUBDIR := netcdf-$($(PKG)_VERSION)
9 $(PKG)_FILE := netcdf-$($(PKG)_VERSION).tar.gz 9 $(PKG)_FILE := netcdf-$($(PKG)_VERSION).tar.gz
10 $(PKG)_URL := http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-$($(PKG)_VERSION).tar.gz 10 $(PKG)_URL := http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-$($(PKG)_VERSION).tar.gz
11 $(PKG)_DEPS := curl hdf5 11 $(PKG)_DEPS := curl hdf5
12 12
29 if [ $(MXE_SYSTEM) = msvc ]; then \ 29 if [ $(MXE_SYSTEM) = msvc ]; then \
30 cd '$(1)' && autoreconf -f -i -v; \ 30 cd '$(1)' && autoreconf -f -i -v; \
31 fi 31 fi
32 cd '$(1)' && ./configure \ 32 cd '$(1)' && ./configure \
33 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ 33 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
34 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
34 $(ENABLE_SHARED_OR_STATIC) \ 35 $(ENABLE_SHARED_OR_STATIC) \
35 --prefix='$(HOST_PREFIX)' \ 36 --prefix='$(HOST_PREFIX)' \
36 $($(PKG)_CONFIGURE_OPTIONS) \ 37 $($(PKG)_CONFIGURE_OPTIONS) \
37 && $($(PKG)_CONFIGURE_POST_HOOK) 38 && $($(PKG)_CONFIGURE_POST_HOOK)
38 $(MAKE) -C '$(1)' -j '$(JOBS)' 39 $(MAKE) -C '$(1)' -j '$(JOBS)'