Mercurial > mxe-octave
annotate src/libglade.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 | 13be64f9f16d |
children |
rev | line source |
---|---|
2563 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := libglade | |
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.6.4 |
2563 | 7 $(PKG)_CHECKSUM := 3cc65ed13c10025780488935313329170baa33c6 |
8 $(PKG)_SUBDIR := libglade-$($(PKG)_VERSION) | |
9 $(PKG)_FILE := libglade-$($(PKG)_VERSION).tar.gz | |
10 $(PKG)_URL := http://ftp.gnome.org/pub/GNOME/sources/libglade/2.6/$($(PKG)_FILE) | |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
11 $(PKG)_DEPS := libxml2 atk glib gtk2 |
2563 | 12 |
13 define $(PKG)_UPDATE | |
14 wget -q -O- 'http://ftp.gnome.org/pub/GNOME/sources/libglade/2.6/' | \ | |
15 $(SED) -n 's,.*"libglade-\([0-9][^"]*\)\.tar.gz.*,\1,p' | \ | |
16 tail -1 | |
17 endef | |
18 | |
19 define $(PKG)_BUILD | |
20 cd '$(1)' && ./configure \ | |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
21 $(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:
2767
diff
changeset
|
22 $(ENABLE_SHARED_OR_STATIC) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
23 --prefix='$(HOST_PREFIX)' \ |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
24 PKG_CONFIG='$(MXE_PKG_CONFIG)' |
2767
69b720fb1a9f
package libglade: use configure and make options instead of patch and autoconf
Tony Theodore <tonyt@logyst.com>
parents:
2632
diff
changeset
|
25 $(MAKE) -C '$(1)' -j '$(JOBS)' |
69b720fb1a9f
package libglade: use configure and make options instead of patch and autoconf
Tony Theodore <tonyt@logyst.com>
parents:
2632
diff
changeset
|
26 $(MAKE) -C '$(1)' -j 1 install-exec |
2563 | 27 endef |