Mercurial > mxe-octave
annotate src/src-msys2-make.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 | 8d35b561c06f |
children | 1d9b775e3004 |
rev | line source |
---|---|
4793
202fa20cf559
add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff
changeset
|
1 # This file is part of MXE. |
202fa20cf559
add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff
changeset
|
2 # See index.html for further information. |
202fa20cf559
add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff
changeset
|
3 |
202fa20cf559
add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff
changeset
|
4 PKG := src-msys2-make |
202fa20cf559
add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff
changeset
|
5 $(PKG)_NAME := make |
202fa20cf559
add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff
changeset
|
6 $(PKG)_IGNORE := |
5296 | 7 $(PKG)_VERSION := 4.3-1 |
8 $(PKG)_CHECKSUM := b6ba45538bfecb9ac1848b7ef97b713f103eee4e | |
4793
202fa20cf559
add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff
changeset
|
9 $(PKG)_SUBDIR := |
202fa20cf559
add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff
changeset
|
10 $(PKG)_FILE := $($(PKG)_NAME)-$($(PKG)_VERSION).src.tar.gz |
5265
a7bbb803f069
* Makefile.in: update urls and msys2 rules to go to repo.msys2.org
John Donoghue
parents:
4793
diff
changeset
|
11 $(PKG)_URL := $(MSYS2_SRC_URL)/$($(PKG)_FILE) |
4793
202fa20cf559
add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff
changeset
|
12 |
202fa20cf559
add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff
changeset
|
13 $(PKG)_DEPS := |
202fa20cf559
add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff
changeset
|
14 |
202fa20cf559
add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff
changeset
|
15 define $(PKG)_UPDATE |
202fa20cf559
add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff
changeset
|
16 $(WGET) -q -O- '$(MSYS2_BASE_URL)/' | \ |
202fa20cf559
add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff
changeset
|
17 $(SED) -n 's,.*title="$($(PKG)_NAME)-\([0-9][^"]*\)".*,\1,p' | \ |
202fa20cf559
add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff
changeset
|
18 head -1 |
202fa20cf559
add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff
changeset
|
19 endef |
202fa20cf559
add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff
changeset
|
20 |
202fa20cf559
add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff
changeset
|
21 define $(PKG)_BUILD |
202fa20cf559
add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff
changeset
|
22 endef |