Mercurial > mxe-octave
annotate src/gtkglarea.mk @ 5515:d46a116f2c8d
* src/of-communications-1-catop.patch: New file.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 25 Aug 2020 15:05:59 -0400 |
parents | 17505928f934 |
children |
rev | line source |
---|---|
2673 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := gtkglarea | |
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 := 2.0.1 |
2673 | 7 $(PKG)_CHECKSUM := db12f2bb9a3d28d69834832e2e04a255acfd8a6d |
8 $(PKG)_SUBDIR := gtkglarea-$($(PKG)_VERSION) | |
9 $(PKG)_FILE := gtkglarea-$($(PKG)_VERSION).tar.gz | |
4844
17505928f934
* src/gtkglarea.mk: use gnome mirror for update
John Donoghue
parents:
4384
diff
changeset
|
10 $(PKG)_URL := https://ftp.gnome.org/pub/gnome/sources/gtkglarea/2.0/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
11 $(PKG)_DEPS := gtk2 freeglut |
2673 | 12 |
13 define $(PKG)_UPDATE | |
4844
17505928f934
* src/gtkglarea.mk: use gnome mirror for update
John Donoghue
parents:
4384
diff
changeset
|
14 $(WGET) -q -O- 'https://ftp.gnome.org/pub/gnome/sources/gtkglarea/2.0/' | \ |
2673 | 15 $(SED) -n 's,.*gtkglarea-\(2[^>]*\)\.tar.*,\1,ip' | \ |
16 sort | \ | |
17 tail -1 | |
18 endef | |
19 | |
20 define $(PKG)_BUILD | |
21 cd '$(1)' && autoreconf -fi # to be removed if patch is integrated upstream | |
22 cd '$(1)' && ./configure \ | |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
24 --prefix='$(HOST_PREFIX)' \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2673
diff
changeset
|
25 $(ENABLE_SHARED_OR_STATIC) |
2673 | 26 $(MAKE) -C '$(1)' -j '$(JOBS)' install |
27 endef |