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 := |
|
7 $(PKG)_VERSION := 1.4.1 |
|
8 $(PKG)_CHECKSUM := 112279ff58305027294fe0eb5bee600f68cf0b50 |
|
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) |
|
13 $(PKG)_DEPS := gcc |
|
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 \ |
|
32 --disable-silent-rules |
|
33 $(MAKE) -C '$(1)' -j '$(JOBS)' install |
|
34 endef |