annotate src/of-strings.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 1f1717e8de5e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3902
cc946e55afb3 of-strings: add to mxe
John Donoghue
parents:
diff changeset
1 # This file is part of MXE.
cc946e55afb3 of-strings: add to mxe
John Donoghue
parents:
diff changeset
2 # See index.html for further information.
cc946e55afb3 of-strings: add to mxe
John Donoghue
parents:
diff changeset
3
cc946e55afb3 of-strings: add to mxe
John Donoghue
parents:
diff changeset
4 PKG := of-strings
cc946e55afb3 of-strings: add to mxe
John Donoghue
parents:
diff changeset
5 $(PKG)_IGNORE :=
3962
76247f439f51 of-strings: update to v1.2.0
John Donoghue
parents: 3902
diff changeset
6 $(PKG)_VERSION := 1.2.0
76247f439f51 of-strings: update to v1.2.0
John Donoghue
parents: 3902
diff changeset
7 $(PKG)_CHECKSUM := 5db5442b62961a490526eec5d30e6db2a008914a
3902
cc946e55afb3 of-strings: add to mxe
John Donoghue
parents:
diff changeset
8 $(PKG)_REMOTE_SUBDIR :=
3962
76247f439f51 of-strings: update to v1.2.0
John Donoghue
parents: 3902
diff changeset
9 $(PKG)_SUBDIR := strings-$($(PKG)_VERSION)
3902
cc946e55afb3 of-strings: add to mxe
John Donoghue
parents:
diff changeset
10 $(PKG)_FILE := strings-$($(PKG)_VERSION).tar.gz
cc946e55afb3 of-strings: add to mxe
John Donoghue
parents:
diff changeset
11 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download'
cc946e55afb3 of-strings: add to mxe
John Donoghue
parents:
diff changeset
12 $(PKG)_DEPS :=
cc946e55afb3 of-strings: add to mxe
John Donoghue
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: 3962
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: 3962
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: 3962
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: 3962
diff changeset
17
3902
cc946e55afb3 of-strings: add to mxe
John Donoghue
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 $(OCTAVE_FORGE_PKG_UPDATE)
3902
cc946e55afb3 of-strings: add to mxe
John Donoghue
parents:
diff changeset
20 endef
cc946e55afb3 of-strings: add to mxe
John Donoghue
parents:
diff changeset
21
cc946e55afb3 of-strings: add to mxe
John Donoghue
parents:
diff changeset
22 define $(PKG)_BUILD
cc946e55afb3 of-strings: add to mxe
John Donoghue
parents:
diff changeset
23 $(OCTAVE_FORGE_PKG_BUILD)
cc946e55afb3 of-strings: add to mxe
John Donoghue
parents:
diff changeset
24 endef