Mercurial > mxe-octave
annotate src/gtkglarea.mk @ 3480:13be64f9f16d
move version info from index.html to src/*.mk files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 31 Jan 2014 16:04:01 -0500 |
parents | 5ef49fb3299d |
children | d5a5b8e659de |
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 | |
10 $(PKG)_URL := http://mirrors.ircam.fr/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 | |
14 wget -q -O- 'mirrors.ircam.fr/pub/GNOME/sources/gtkglarea/2.0' | \ | |
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 |