Mercurial > mxe-octave
annotate src/libglade.mk @ 3456:3124eb50a04b
Add msys-zip package
author | Philip Nienhuis <prnienhuis@users.sf.net> |
---|---|
date | Sat, 25 Jan 2014 23:04:52 +0100 |
parents | 5ef49fb3299d |
children | 13be64f9f16d |
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 := | |
6 $(PKG)_CHECKSUM := 3cc65ed13c10025780488935313329170baa33c6 | |
7 $(PKG)_SUBDIR := libglade-$($(PKG)_VERSION) | |
8 $(PKG)_FILE := libglade-$($(PKG)_VERSION).tar.gz | |
9 $(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
|
10 $(PKG)_DEPS := libxml2 atk glib gtk2 |
2563 | 11 |
12 define $(PKG)_UPDATE | |
13 wget -q -O- 'http://ftp.gnome.org/pub/GNOME/sources/libglade/2.6/' | \ | |
14 $(SED) -n 's,.*"libglade-\([0-9][^"]*\)\.tar.gz.*,\1,p' | \ | |
15 tail -1 | |
16 endef | |
17 | |
18 define $(PKG)_BUILD | |
19 cd '$(1)' && ./configure \ | |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
20 $(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
|
21 $(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
|
22 --prefix='$(HOST_PREFIX)' \ |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
23 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
|
24 $(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
|
25 $(MAKE) -C '$(1)' -j 1 install-exec |
2563 | 26 endef |