Mercurial > mxe-octave
annotate src/gta.mk @ 4513:1fdd8063e38d
mesa: windows: optionally build opengl target; build in release mode
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 18 Oct 2017 10:50:32 -0400 |
parents | c36aa72fa4a1 |
children | 01afae590a2f |
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 | 3 |
4 PKG := gta | |
5 $(PKG)_IGNORE := | |
4146 | 6 $(PKG)_VERSION := 1.0.8 |
7 $(PKG)_CHECKSUM := 795832a042be4102321d862246cc4afdb929dc57 | |
2270 | 8 $(PKG)_SUBDIR := libgta-$($(PKG)_VERSION) |
9 $(PKG)_FILE := libgta-$($(PKG)_VERSION).tar.xz | |
10 $(PKG)_URL := http://download.savannah.gnu.org/releases/gta/$($(PKG)_FILE) | |
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 | 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://git.savannah.gnu.org/gitweb/?p=gta.git;a=tags' | \ |
2270 | 15 grep '<a class="list subject"' | \ |
16 $(SED) -n 's,.*<a[^>]*>libgta-\([0-9.]*\)<.*,\1,p' | \ | |
17 head -1 | |
18 endef | |
19 | |
20 define $(PKG)_BUILD | |
21 cd '$(1)' && ./configure \ | |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2714
diff
changeset
|
23 $(ENABLE_SHARED_OR_STATIC) \ |
4346
c36aa72fa4a1
* src/gta.mk: add configure flags, disable docs and test
John D
parents:
4146
diff
changeset
|
24 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
2270 | 25 --disable-reference \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
26 --prefix='$(HOST_PREFIX)' |
2270 | 27 $(MAKE) -C '$(1)' -j '$(JOBS)' |
4346
c36aa72fa4a1
* src/gta.mk: add configure flags, disable docs and test
John D
parents:
4146
diff
changeset
|
28 $(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_DOCS) |
2270 | 29 |
30 endef |