Mercurial > mxe-octave
annotate src/dbus.mk @ 3456:3124eb50a04b
Add msys-zip package
author | Philip Nienhuis <prnienhuis@users.sf.net> |
---|---|
date | Sat, 25 Jan 2014 23:04:52 +0100 |
parents | cf6f40cededb |
children | 13be64f9f16d |
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 := | |
3264 | 6 $(PKG)_CHECKSUM := 3b2b5375251408c524519ef8a418ad5681832876 |
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 \ |
3264 | 31 --disable-launchd \ |
3234
13f5573c98ca
disable doxygen docs for dbus build
John W. Eaton <jwe@octave.org>
parents:
3108
diff
changeset
|
32 --disable-doxygen-docs \ |
3264 | 33 --disable-xml-docs \ |
34 CFLAGS='-DPROCESS_QUERY_LIMITED_INFORMATION=0x1000' \ | |
3108
acee522701c0
[MSVC] enable dbus compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
35 && $(CONFIGURE_POST_HOOK) |
3293
cf6f40cededb
Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3264
diff
changeset
|
36 $(MAKE) -C '$(1)' -j '$(JOBS)' install DESTDIR='$(3)' |
1530 | 37 endef |