Mercurial > mxe-octave
annotate src/of-mapping.mk @ 4240:724749afb8b5
Makefile.in: check if have version of octave and warn if cant find it (Bug #49503)
* Makefile.in: in check-requirements, verify and warn if do not have correct octave
author | John D |
---|---|
date | Thu, 03 Nov 2016 04:08:08 -0400 |
parents | 98a8748f0438 |
children | 1933a9113e65 |
rev | line source |
---|---|
4006 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := of-mapping | |
5 $(PKG)_IGNORE := | |
4089
98a8748f0438
of-mapping: update to 1.2.1
John Donoghue <john.donoghue@ieee.org>
parents:
4006
diff
changeset
|
6 $(PKG)_VERSION := 1.2.1 |
98a8748f0438
of-mapping: update to 1.2.1
John Donoghue <john.donoghue@ieee.org>
parents:
4006
diff
changeset
|
7 $(PKG)_CHECKSUM := dcda538e8142365f3c8485238e2cd6caf737b62e |
4006 | 8 $(PKG)_REMOTE_SUBDIR := |
4089
98a8748f0438
of-mapping: update to 1.2.1
John Donoghue <john.donoghue@ieee.org>
parents:
4006
diff
changeset
|
9 $(PKG)_SUBDIR := mapping-$($(PKG)_VERSION) |
4006 | 10 $(PKG)_FILE := mapping-$($(PKG)_VERSION).tar.gz |
11 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download' | |
4089
98a8748f0438
of-mapping: update to 1.2.1
John Donoghue <john.donoghue@ieee.org>
parents:
4006
diff
changeset
|
12 $(PKG)_DEPS := gdal |
4006 | 13 |
14 define $(PKG)_UPDATE | |
15 $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \ | |
16 $(SED) -n 's,.*title="mapping-\([0-9][^"]*\).tar.gz".*,\1,p' | \ | |
17 head -1 | |
18 endef | |
19 | |
20 define $(PKG)_BUILD | |
21 $(OCTAVE_FORGE_PKG_BUILD) | |
22 endef |