Mercurial > mxe-octave
annotate src/dbus.mk @ 3108:acee522701c0
[MSVC] enable dbus compilation
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Fri, 28 Jun 2013 21:14:15 -0400 |
parents | 5ef49fb3299d |
children | 13f5573c98ca |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2255
diff
changeset
|
1 # This file is part of MXE. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2349
diff
changeset
|
2 # See index.html for further information. |
1530 | 3 |
4 PKG := dbus | |
5 $(PKG)_IGNORE := | |
2793 | 6 $(PKG)_CHECKSUM := d9634807d1de9b64727ae2178e3af2227fca0fca |
1530 | 7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
9 $(PKG)_URL := http://$(PKG).freedesktop.org/releases/$(PKG)/$($(PKG)_FILE) | |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
10 $(PKG)_DEPS := expat |
1530 | 11 |
12 define $(PKG)_UPDATE | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
13 $(WGET) -q -O- 'http://cgit.freedesktop.org/dbus/dbus/refs/tags' | \ |
1530 | 14 $(SED) -n "s,.*<a href='[^']*/tag/?id=[^0-9]*\\([0-9][^']*\\)'.*,\\1,p" | \ |
1885
36d9d04b0510
update packages: dbus fltk imagemagick x264
Mark Brand <mabrand@mabrand.nl>
parents:
1880
diff
changeset
|
15 grep -v '^1\.[01234]\.' | \ |
1530 | 16 head -1 |
17 endef | |
18 | |
19 define $(PKG)_BUILD | |
2237
f11367e37e86
package dbus: don't need to call automake anymore
Mark Brand <mabrand@mabrand.nl>
parents:
2002
diff
changeset
|
20 cd '$(1)' && ./configure \ |
2997 | 21 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2997
diff
changeset
|
23 --prefix='$(HOST_PREFIX)' \ |
1530 | 24 --with-xml=expat \ |
25 --disable-tests \ | |
26 --disable-verbose-mode \ | |
27 --disable-asserts \ | |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2793
diff
changeset
|
28 $(ENABLE_SHARED_OR_STATIC) \ |
2647
0c267ecd6ee6
package dbus: misc improvements
Mark Brand <mabrand@mabrand.nl>
parents:
2646
diff
changeset
|
29 --disable-maintainer-mode \ |
3108
acee522701c0
[MSVC] enable dbus compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
30 --disable-silent-rules \ |
acee522701c0
[MSVC] enable dbus compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
31 && $(CONFIGURE_POST_HOOK) |
1530 | 32 $(MAKE) -C '$(1)' -j '$(JOBS)' install |
33 endef |