Mercurial > mxe-octave
annotate src/of-octcdf.mk @ 5531:eae508c12529
Add build rule for build-octave (bug #49503).
* src/build-octave.mk: Add new build rule for build-octave which can be used for
cross-building binary packages that depend on Octave as a build tool.
* dist-files.mk: Add new file to list.
* index.html: Add new package to list.
* src/of-communications.mk, src/of-image.mk, src/of-mapping.mk,
src/of-optiminterp.mk, src/of-sparsersb.mk, src/of-statistics.mk,
src/of-windows.mk: Add optional dependency on build-octave.
* configure.ac: Add new configure switch "--disable-system-octave" that is
needed to build the build-octave package.
* Makefile.in: Add variable "USE_SYSTEM_OCTAVE". Exclude build-octave from the
default build tools and build it only if a package explicitly depends on it.
Display warning about missing native Octave version only if necessary.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Tue, 08 Sep 2020 23:04:38 +0200 |
parents | 7d1e45c2f175 |
children |
rev | line source |
---|---|
3904 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
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 | 6 PKG := of-octcdf |
7 $(PKG)_IGNORE := | |
4108
6a33c32796b2
of-octcdf: update to 1.1.10
John Donoghue <john.donoghue@ieee.org>
parents:
4105
diff
changeset
|
8 $(PKG)_VERSION := 1.1.10 |
6a33c32796b2
of-octcdf: update to 1.1.10
John Donoghue <john.donoghue@ieee.org>
parents:
4105
diff
changeset
|
9 $(PKG)_CHECKSUM := 96efa6d45fe79480d7de090e759f19d8324cfd21 |
3904 | 10 $(PKG)_REMOTE_SUBDIR := |
11 $(PKG)_SUBDIR := octcdf | |
12 $(PKG)_FILE := octcdf-$($(PKG)_VERSION).tar.gz | |
13 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download' | |
14 $(PKG)_DEPS := netcdf | |
15 | |
4449
1933a9113e65
of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents:
4108
diff
changeset
|
16 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:
4108
diff
changeset
|
17 $(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:
4108
diff
changeset
|
18 endif |
1933a9113e65
of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents:
4108
diff
changeset
|
19 |
3904 | 20 define $(PKG)_UPDATE |
4543
7d1e45c2f175
update: more PKG_UPDATE updates, added update-octaveforge target
John D
parents:
4449
diff
changeset
|
21 $(OCTAVE_FORGE_PKG_UPDATE) |
3904 | 22 endef |
23 | |
24 define $(PKG)_BUILD | |
25 $(OCTAVE_FORGE_PKG_BUILD) | |
26 endef |