annotate src/of-netcdf.mk @ 4619:4eb3a598f57c

* src/src-msys-libopenssl.mk: update PKG_UPDATE
author John D
date Sat, 10 Mar 2018 07:14:08 -0500
parents 7d1e45c2f175
children d09fabbfdc17
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3557
b1a7cff2d2a9 Add octave forge of-netcdf package (and support files)
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
1 # This file is part of MXE.
b1a7cff2d2a9 Add octave forge of-netcdf package (and support files)
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
2 # See index.html for further information.
b1a7cff2d2a9 Add octave forge of-netcdf package (and support files)
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
3
b1a7cff2d2a9 Add octave forge of-netcdf package (and support files)
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
4 PKG := of-netcdf
b1a7cff2d2a9 Add octave forge of-netcdf package (and support files)
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
4147
05523ddd7961 of-netcdf: update to 1.0.11
John Donoghue
parents: 4107
diff changeset
6 $(PKG)_VERSION := 1.0.11
05523ddd7961 of-netcdf: update to 1.0.11
John Donoghue
parents: 4107
diff changeset
7 $(PKG)_CHECKSUM := 904b15a7f22b0b4adb49d54500d196389e732f95
3557
b1a7cff2d2a9 Add octave forge of-netcdf package (and support files)
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
8 $(PKG)_REMOTE_SUBDIR :=
b1a7cff2d2a9 Add octave forge of-netcdf package (and support files)
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
9 $(PKG)_SUBDIR := netcdf
b1a7cff2d2a9 Add octave forge of-netcdf package (and support files)
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
10 $(PKG)_FILE := netcdf-$($(PKG)_VERSION).tar.gz
b1a7cff2d2a9 Add octave forge of-netcdf package (and support files)
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
11 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download'
b1a7cff2d2a9 Add octave forge of-netcdf package (and support files)
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
12 $(PKG)_DEPS := netcdf
b1a7cff2d2a9 Add octave forge of-netcdf package (and support files)
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
13
4449
1933a9113e65 of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents: 4421
diff changeset
14 ifeq ($(ENABLE_BINARY_PACKAGES),yes)
1933a9113e65 of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents: 4421
diff changeset
15 $(PKG)_DEPS += $(OCTAVE_TARGET)
1933a9113e65 of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents: 4421
diff changeset
16 endif
1933a9113e65 of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents: 4421
diff changeset
17
3557
b1a7cff2d2a9 Add octave forge of-netcdf package (and support files)
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
18 define $(PKG)_UPDATE
4543
7d1e45c2f175 update: more PKG_UPDATE updates, added update-octaveforge target
John D
parents: 4449
diff changeset
19 $(WGET) -q -O- 'https://sourceforge.net/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \
3561
ae4193aad5fe revise and enable more $(PKG)_UPDATE rules
John W. Eaton <jwe@octave.org>
parents: 3557
diff changeset
20 $(SED) -n 's,.*title="netcdf-\([0-9][^"]*\).tar.gz".*,\1,p' | \
ae4193aad5fe revise and enable more $(PKG)_UPDATE rules
John W. Eaton <jwe@octave.org>
parents: 3557
diff changeset
21 head -1
3557
b1a7cff2d2a9 Add octave forge of-netcdf package (and support files)
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
22 endef
b1a7cff2d2a9 Add octave forge of-netcdf package (and support files)
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
23
b1a7cff2d2a9 Add octave forge of-netcdf package (and support files)
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
24 define $(PKG)_BUILD
4421
e76a7e02174d of-netcdf: allow build in dev octave
John D
parents: 4147
diff changeset
25 cd '$(1)/src' && source ./autogen.sh
3898
abf9c5216a21 allow compile fo of-netcdf
John D
parents: 3853
diff changeset
26 $(OCTAVE_FORGE_PKG_BUILD)
3557
b1a7cff2d2a9 Add octave forge of-netcdf package (and support files)
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
27 endef