annotate src/of-octcdf.mk @ 3904:3d16df45776b

of-octcdf: add to mxe * src/of-octcdf.mk: new file * src/of-octcdf-1-cross-fixes.patch: new file * dist-files.mk: add of-octcdf.mk, of-octcdf-1-cross-fixes.patch * Makefile.in: add octcdf to forge packages * index.html: add of-octcdf
author John Donoghue
date Tue, 14 Apr 2015 13:16:40 -0400
parents
children d1aaa8270548
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
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
4 PKG := of-octcdf
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
5 $(PKG)_IGNORE :=
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
6 $(PKG)_VERSION := 1.1.8
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
7 $(PKG)_CHECKSUM := 0550e4d5741d5e720d6ad8a42edc8c1a451f07e5
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
8 $(PKG)_REMOTE_SUBDIR :=
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
9 $(PKG)_SUBDIR := octcdf
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
10 $(PKG)_FILE := octcdf-$($(PKG)_VERSION).tar.gz
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
11 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download'
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
12 $(PKG)_DEPS := netcdf
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
13
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
14 define $(PKG)_UPDATE
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
15 $(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
16 $(SED) -n 's,.*title="octcdf-\([0-9][^"]*\).tar.gz".*,\1,p' | \
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
17 head -1
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
18 endef
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
19
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
20 define $(PKG)_BUILD
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
21 $(OCTAVE_FORGE_PKG_BUILD)
3d16df45776b of-octcdf: add to mxe
John Donoghue
parents:
diff changeset
22 endef