comparison src/of-netcdf.mk @ 4664:d09fabbfdc17

of-netcdf: update to 1.0.12 * build_packages.m: update netcdf version * dist-files.mk: remove ref to of-netcdf-1-fixes.patch * src/of-netcdf.mk: update version, checksum, update rule * src/of-netcdf-1-fixes.patch: removed
author John Donoghue
date Tue, 17 Apr 2018 13:22:05 -0400
parents 7d1e45c2f175
children fa7de5b2de54
comparison
equal deleted inserted replaced
4663:8e04902803b9 4664:d09fabbfdc17
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 := of-netcdf 4 PKG := of-netcdf
5 $(PKG)_IGNORE := 5 $(PKG)_IGNORE :=
6 $(PKG)_VERSION := 1.0.11 6 $(PKG)_VERSION := 1.0.12
7 $(PKG)_CHECKSUM := 904b15a7f22b0b4adb49d54500d196389e732f95 7 $(PKG)_CHECKSUM := 81245738de96385d1b073715859e5c00bdeede31
8 $(PKG)_REMOTE_SUBDIR := 8 $(PKG)_REMOTE_SUBDIR :=
9 $(PKG)_SUBDIR := netcdf 9 $(PKG)_SUBDIR := netcdf-$($(PKG)_VERSION)
10 $(PKG)_FILE := netcdf-$($(PKG)_VERSION).tar.gz 10 $(PKG)_FILE := netcdf-$($(PKG)_VERSION).tar.gz
11 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download' 11 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download'
12 $(PKG)_DEPS := netcdf 12 $(PKG)_DEPS := netcdf
13 13
14 ifeq ($(ENABLE_BINARY_PACKAGES),yes) 14 ifeq ($(ENABLE_BINARY_PACKAGES),yes)
15 $(PKG)_DEPS += $(OCTAVE_TARGET) 15 $(PKG)_DEPS += $(OCTAVE_TARGET)
16 endif 16 endif
17 17
18 define $(PKG)_UPDATE 18 define $(PKG)_UPDATE
19 $(WGET) -q -O- 'https://sourceforge.net/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \ 19 $(OCTAVE_FORGE_PKG_UPDATE)
20 $(SED) -n 's,.*title="netcdf-\([0-9][^"]*\).tar.gz".*,\1,p' | \
21 head -1
22 endef 20 endef
23 21
24 define $(PKG)_BUILD 22 define $(PKG)_BUILD
25 cd '$(1)/src' && source ./autogen.sh
26 $(OCTAVE_FORGE_PKG_BUILD) 23 $(OCTAVE_FORGE_PKG_BUILD)
27 endef 24 endef