annotate src/of-octcdf.mk @ 4105:d1aaa8270548

of-netcdf: do not package of-octcdf in installer * src/of-octcdf.mk: add depreciated comment in package * build_packages.m: remove octcdf from build_packages script * Makefile.in: remove octcdf from installed of- list
author John Donoghue
date Tue, 15 Mar 2016 08:03:52 -0400
parents 3d16df45776b
children 6a33c32796b2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3904
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
1 # This file is part of MXE.
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
2 # See index.html for further information.
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
3
4105
d1aaa8270548 of-netcdf: do not package of-octcdf in installer
John Donoghue
parents: 3904
diff changeset
4 # NOTE: octcdf is now depreciated - use of netcdf is encouraged instead
d1aaa8270548 of-netcdf: do not package of-octcdf in installer
John Donoghue
parents: 3904
diff changeset
5
3904
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
6 PKG := of-octcdf
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
7 $(PKG)_IGNORE :=
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
8 $(PKG)_VERSION := 1.1.8
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
9 $(PKG)_CHECKSUM := 0550e4d5741d5e720d6ad8a42edc8c1a451f07e5
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
10 $(PKG)_REMOTE_SUBDIR :=
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
11 $(PKG)_SUBDIR := octcdf
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
12 $(PKG)_FILE := octcdf-$($(PKG)_VERSION).tar.gz
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
13 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download'
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
14 $(PKG)_DEPS := netcdf
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
15
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
16 define $(PKG)_UPDATE
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
17 $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
18 $(SED) -n 's,.*title="octcdf-\([0-9][^"]*\).tar.gz".*,\1,p' | \
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
19 head -1
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
20 endef
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
21
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
22 define $(PKG)_BUILD
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
23 $(OCTAVE_FORGE_PKG_BUILD)
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
24 endef