Mercurial > mxe-octave
annotate src/dbus.mk @ 2997:4f9b72cf7ee7
allow native builds too
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 28 May 2013 17:31:59 -0400 |
parents | 47558e958113 |
children | 100e618349f7 |
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) | |
1534
c00ec165c73f
package dbus: added missing dependency
Mark Brand <mabrand@mabrand.nl>
parents:
1530
diff
changeset
|
10 $(PKG)_DEPS := gcc 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) \ |
1530 | 22 --host='$(TARGET)' \ |
2255 | 23 --build="`config.guess`" \ |
1530 | 24 --prefix='$(PREFIX)/$(TARGET)' \ |
25 --with-xml=expat \ | |
26 --disable-tests \ | |
27 --disable-verbose-mode \ | |
28 --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
|
29 $(ENABLE_SHARED_OR_STATIC) \ |
2647
0c267ecd6ee6
package dbus: misc improvements
Mark Brand <mabrand@mabrand.nl>
parents:
2646
diff
changeset
|
30 --disable-maintainer-mode \ |
1530 | 31 --disable-silent-rules |
32 $(MAKE) -C '$(1)' -j '$(JOBS)' install | |
33 endef |