annotate src/gta.mk @ 7207:9ed6500e56d3 default tip @

maint: Merge release to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 17 May 2024 20:16:41 +0200
parents 2b42b66b5df9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 2270
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
2270
0f50afdf5866 rename project libgta to gta
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
3
0f50afdf5866 rename project libgta to gta
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
4 PKG := gta
0f50afdf5866 rename project libgta to gta
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
5 $(PKG)_IGNORE :=
6252
2b42b66b5df9 * src/gta.mk: use github, update to v1.2.1, use cmake
John Donoghue <john.donoghue@ieee.org>
parents: 5417
diff changeset
6 $(PKG)_VERSION := 1.2.1
2b42b66b5df9 * src/gta.mk: use github, update to v1.2.1, use cmake
John Donoghue <john.donoghue@ieee.org>
parents: 5417
diff changeset
7 $(PKG)_CHECKSUM := efaf3e315c6df53ece1ae1dbb23d19f703c6b62e
2b42b66b5df9 * src/gta.mk: use github, update to v1.2.1, use cmake
John Donoghue <john.donoghue@ieee.org>
parents: 5417
diff changeset
8 $(PKG)_SUBDIR := gta-mirror-libgta-$($(PKG)_VERSION)/libgta
2b42b66b5df9 * src/gta.mk: use github, update to v1.2.1, use cmake
John Donoghue <john.donoghue@ieee.org>
parents: 5417
diff changeset
9 $(PKG)_FILE := libgta-$($(PKG)_VERSION).tar.gz
2b42b66b5df9 * src/gta.mk: use github, update to v1.2.1, use cmake
John Donoghue <john.donoghue@ieee.org>
parents: 5417
diff changeset
10 $(PKG)_URL := https://github.com/marlam/gta-mirror/archive/libgta-$($(PKG)_VERSION).tar.gz
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3031
diff changeset
11 $(PKG)_DEPS := zlib bzip2 xz
2270
0f50afdf5866 rename project libgta to gta
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
12
0f50afdf5866 rename project libgta to gta
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
13 define $(PKG)_UPDATE
6252
2b42b66b5df9 * src/gta.mk: use github, update to v1.2.1, use cmake
John Donoghue <john.donoghue@ieee.org>
parents: 5417
diff changeset
14 $(WGET) -q -O- 'https://github.com/marlam/gta-mirror/tags' | \
2b42b66b5df9 * src/gta.mk: use github, update to v1.2.1, use cmake
John Donoghue <john.donoghue@ieee.org>
parents: 5417
diff changeset
15 $(SED) -n 's|.*releases/tag/libgta-\([^"]*\).*|\1|p' | $(SORT) -V | \
2b42b66b5df9 * src/gta.mk: use github, update to v1.2.1, use cmake
John Donoghue <john.donoghue@ieee.org>
parents: 5417
diff changeset
16 tail -1
2270
0f50afdf5866 rename project libgta to gta
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
17 endef
0f50afdf5866 rename project libgta to gta
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
18
0f50afdf5866 rename project libgta to gta
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
19 define $(PKG)_BUILD
6252
2b42b66b5df9 * src/gta.mk: use github, update to v1.2.1, use cmake
John Donoghue <john.donoghue@ieee.org>
parents: 5417
diff changeset
20 cd '$(1)' && cmake \
2b42b66b5df9 * src/gta.mk: use github, update to v1.2.1, use cmake
John Donoghue <john.donoghue@ieee.org>
parents: 5417
diff changeset
21 $($(PKG)_CMAKE_FLAGS) \
2b42b66b5df9 * src/gta.mk: use github, update to v1.2.1, use cmake
John Donoghue <john.donoghue@ieee.org>
parents: 5417
diff changeset
22 -DGTA_BUILD_DOCUMENTATION=OFF \
2b42b66b5df9 * src/gta.mk: use github, update to v1.2.1, use cmake
John Donoghue <john.donoghue@ieee.org>
parents: 5417
diff changeset
23 $(CMAKE_CCACHE_FLAGS) \
2b42b66b5df9 * src/gta.mk: use github, update to v1.2.1, use cmake
John Donoghue <john.donoghue@ieee.org>
parents: 5417
diff changeset
24 $(CMAKE_BUILD_SHARED_OR_STATIC) \
2b42b66b5df9 * src/gta.mk: use github, update to v1.2.1, use cmake
John Donoghue <john.donoghue@ieee.org>
parents: 5417
diff changeset
25 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
2b42b66b5df9 * src/gta.mk: use github, update to v1.2.1, use cmake
John Donoghue <john.donoghue@ieee.org>
parents: 5417
diff changeset
26 .
2b42b66b5df9 * src/gta.mk: use github, update to v1.2.1, use cmake
John Donoghue <john.donoghue@ieee.org>
parents: 5417
diff changeset
27
2b42b66b5df9 * src/gta.mk: use github, update to v1.2.1, use cmake
John Donoghue <john.donoghue@ieee.org>
parents: 5417
diff changeset
28 $(MAKE) -C '$(1)' -j '$(JOBS)' VERBOSE=1
2b42b66b5df9 * src/gta.mk: use github, update to v1.2.1, use cmake
John Donoghue <john.donoghue@ieee.org>
parents: 5417
diff changeset
29 $(MAKE) -C '$(1)' -j '1' VERBOSE=1 DESTDIR='$(3)' install
2270
0f50afdf5866 rename project libgta to gta
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
30 endef