annotate src/msys2-pacman.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 38d42e4346af
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 := msys2-pacman
202fa20cf559 add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff changeset
5 $(PKG)_NAME := pacman
202fa20cf559 add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff changeset
6 $(PKG)_IGNORE :=
202fa20cf559 add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff changeset
7 # NOTE: currently 5.X versions not compatible with our format
5296
8d35b561c06f msys2: update to latest packages
John Donoghue
parents: 5266
diff changeset
8 $(PKG)_VERSION := 5.2.1-6
8d35b561c06f msys2: update to latest packages
John Donoghue
parents: 5266
diff changeset
9 $(PKG)_x86_64_CS := f8525811c2feddcb49801e4652487531dcace21a
8d35b561c06f msys2: update to latest packages
John Donoghue
parents: 5266
diff changeset
10 $(PKG)_i686_CS := 9d0a4a2a1dade9968fbb660d003a8fca63411f0d
4793
202fa20cf559 add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff changeset
11 $(PKG)_CS := $($(PKG)_$(MSYS2_ARCH)_CS)
202fa20cf559 add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff changeset
12 $(PKG)_CHECKSUM := $($(PKG)_CS)
202fa20cf559 add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff changeset
13 $(PKG)_SUBDIR :=
202fa20cf559 add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff changeset
14 $(PKG)_FILE := $($(PKG)_NAME)-$($(PKG)_VERSION)-$(MSYS2_ARCH).pkg.tar.xz
5265
a7bbb803f069 * Makefile.in: update urls and msys2 rules to go to repo.msys2.org
John Donoghue
parents: 5207
diff changeset
15 $(PKG)_URL := $(MSYS2_URL)/$($(PKG)_FILE)
4793
202fa20cf559 add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff changeset
16
202fa20cf559 add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff changeset
17 $(PKG)_DEPS :=
202fa20cf559 add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff changeset
18
202fa20cf559 add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff changeset
19 define $(PKG)_UPDATE
4822
14328ca36f61 Add MSYS2_PKG_UPDATE rule and use in msys2 packages
John Donoghue
parents: 4793
diff changeset
20 $(MSYS2_PKG_UPDATE)
4793
202fa20cf559 add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff changeset
21 endef
202fa20cf559 add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff changeset
22
202fa20cf559 add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff changeset
23 define $(PKG)_BUILD
202fa20cf559 add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff changeset
24 $(MSYS2_PKG_BUILD)
202fa20cf559 add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents:
diff changeset
25 endef