Mercurial > mxe-octave
comparison src/netcdf.mk @ 4558:7e8c6bb47c21
update: additional pkg update updates
* src/dbus.mk, src/gst-plugins-base.mk, src/gst-plugins-good.mk,
src/gstreamer.mk, src/harfbuzz.mk, src/liboil.mk,
src/netcdf.mk, src/protobuf.mk: update PKG_UPDATE macro
author | John D |
---|---|
date | Wed, 29 Nov 2017 15:50:53 -0500 |
parents | abf9c5216a21 |
children | ed0f6eaf1280 |
comparison
equal
deleted
inserted
replaced
4557:91cbefb72c40 | 4558:7e8c6bb47c21 |
---|---|
9 $(PKG)_FILE := netcdf-$($(PKG)_VERSION).tar.gz | 9 $(PKG)_FILE := netcdf-$($(PKG)_VERSION).tar.gz |
10 $(PKG)_URL := ftp://ftp.unidata.ucar.edu/pub/netcdf/old/$($(PKG)_FILE) | 10 $(PKG)_URL := ftp://ftp.unidata.ucar.edu/pub/netcdf/old/$($(PKG)_FILE) |
11 $(PKG)_DEPS := curl hdf5 | 11 $(PKG)_DEPS := curl hdf5 |
12 | 12 |
13 define $(PKG)_UPDATE | 13 define $(PKG)_UPDATE |
14 $(WGET) -q -O- 'http://www.unidata.ucar.edu/downloads/netcdf/current/index.jsp' | \ | 14 $(WGET) -q -O- 'ftp://ftp.unidata.ucar.edu/pub/netcdf/old/' | \ |
15 $(SED) -n 's,.*netcdf-\([0-9][^>]*\)\.tar.*,\1,p' | \ | 15 $(SED) -n 's,.*netcdf-\([0-9]\.[^>]*\)\.tar.*,\1,p' | \ |
16 head -1 | 16 $(SORT) -V | \ |
17 tail -1 | |
17 endef | 18 endef |
18 | 19 |
19 ifeq ($(MXE_WINDOWS_BUILD),yes) | 20 ifeq ($(MXE_WINDOWS_BUILD),yes) |
20 $(PKG)_CONFIGURE_OPTIONS := --enable-dll | 21 $(PKG)_CONFIGURE_OPTIONS := --enable-dll |
21 endif | 22 endif |