Mercurial > mxe-octave
annotate src/libglade.mk @ 3012:100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
BUILD_TOOLS_PREFIX variables in top-level Makefile.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 02 Jun 2013 10:31:04 -0400 |
parents | 47558e958113 |
children | bcc26ffe9a0f |
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) | |
10 $(PKG)_DEPS := gcc libxml2 atk glib gtk2 | |
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 \ | |
20 --host='$(TARGET)' \ | |
2631 | 21 --build="`config.guess`" \ |
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)' \ |
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
24 PKG_CONFIG='$(BUILD_TOOLS_PREFIX)/bin/$(TARGET)-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 |