Mercurial > mxe-octave
annotate src/qjson.mk @ 6001:88762923aa9a release
octave-launch: Attach to console of parent process if applicable.
* installer-files/octave-launch.c: If parent process has a console, attach to
it.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 05 Dec 2021 18:26:51 +0100 |
parents | b19fb3ed330c |
children |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2015
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. |
1934 | 3 |
4 PKG := qjson | |
5 $(PKG)_IGNORE := | |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3048
diff
changeset
|
6 $(PKG)_VERSION := 0.7.1 |
1934 | 7 $(PKG)_CHECKSUM := 19bbef24132b238e99744bb35194c6dadece98f9 |
8 $(PKG)_SUBDIR := $(PKG) | |
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 | |
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) | |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
11 $(PKG)_DEPS := qt |
1934 | 12 |
13 define $(PKG)_UPDATE | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
14 $(WGET) -q -O- 'http://sourceforge.net/projects/qjson/files/qjson/' | \ |
4601
dc3eb553f5e9
update UPDATE rule for sourceforge projects with version directories
John D
parents:
3480
diff
changeset
|
15 $(SED) -n 's,.*tr title="\([0-9][^"]*\)".*,\1,p' | \ |
1934 | 16 head -1 |
17 endef | |
18 | |
19 define $(PKG)_BUILD | |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
20 echo '$(MXE_QMAKE)' |
1934 | 21 mkdir '$(1)/build' |
22 cd '$(1)/build' && cmake .. \ | |
5541
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4601
diff
changeset
|
23 $(CMAKE_CCACHE_FLAGS) \ |
5571
b19fb3ed330c
use cmake command line to set build shared/static options (bug #59373)
John W. Eaton <jwe@octave.org>
parents:
5541
diff
changeset
|
24 $(CMAKE_BUILD_SHARED_OR_STATIC) \ |
1934 | 25 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ |
26 -DLIBTYPE=STATIC | |
27 | |
28 $(MAKE) -C '$(1)/build' -j '$(JOBS)' install | |
29 endef |