Mercurial > mxe-octave
annotate src/dbus.mk @ 1592:a74a8aa03f8b
upgrade package dbus
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Fri, 18 Feb 2011 14:50:56 +0100 |
parents | 9bbf5054d894 |
children | f534ea3e49f3 |
rev | line source |
---|---|
1530 | 1 # This file is part of mingw-cross-env. |
2 # See doc/index.html for further information. | |
3 | |
4 # dbus | |
5 PKG := dbus | |
6 $(PKG)_IGNORE := | |
1592 | 7 $(PKG)_VERSION := 1.4.6 |
8 $(PKG)_CHECKSUM := e87520518dfa0bfc4b8791105673e48f993874d7 | |
1530 | 9 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
11 $(PKG)_WEBSITE := http://$(PKG).freedesktop.org/ | |
12 $(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
|
13 $(PKG)_DEPS := gcc expat |
1530 | 14 |
15 define $(PKG)_UPDATE | |
16 wget -q -O- 'http://cgit.freedesktop.org/dbus/dbus/refs/tags' | \ | |
17 $(SED) -n "s,.*<a href='[^']*/tag/?id=[^0-9]*\\([0-9][^']*\\)'.*,\\1,p" | \ | |
18 grep -v '^1\.[0123]\.' | \ | |
19 head -1 | |
20 endef | |
21 | |
22 define $(PKG)_BUILD | |
23 cd '$(1)' && ./configure \ | |
24 --host='$(TARGET)' \ | |
25 --prefix='$(PREFIX)/$(TARGET)' \ | |
26 --with-xml=expat \ | |
27 --disable-tests \ | |
28 --disable-verbose-mode \ | |
29 --disable-asserts \ | |
30 --disable-shared \ | |
31 --enable-static \ | |
1585 | 32 --disable-tests \ |
33 --disable-standalone-tests \ | |
1530 | 34 --disable-silent-rules |
35 $(MAKE) -C '$(1)' -j '$(JOBS)' install | |
36 endef |