2012-03-28 14:46:58 +01:00
|
|
|
# This file is part of MXE.
|
2012-03-29 11:14:15 +01:00
|
|
|
# See index.html for further information.
|
2011-01-04 00:16:11 +00:00
|
|
|
|
|
|
|
PKG := dbus
|
|
|
|
$(PKG)_IGNORE :=
|
2014-06-11 09:50:45 +01:00
|
|
|
$(PKG)_VERSION := 1.8.4
|
|
|
|
$(PKG)_CHECKSUM := 316f1196312a88cc858ba810d4e5d16f70ab9d58
|
2011-01-04 00:16:11 +00:00
|
|
|
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
|
|
|
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
|
|
|
$(PKG)_URL := http://$(PKG).freedesktop.org/releases/$(PKG)/$($(PKG)_FILE)
|
2011-01-04 00:48:43 +00:00
|
|
|
$(PKG)_DEPS := gcc expat
|
2011-01-04 00:16:11 +00:00
|
|
|
|
|
|
|
define $(PKG)_UPDATE
|
2012-05-08 16:16:05 +01:00
|
|
|
$(WGET) -q -O- 'http://cgit.freedesktop.org/dbus/dbus/refs/tags' | \
|
2013-05-22 21:06:35 +01:00
|
|
|
$(SED) -n "s,.*<a href='[^']*/tag/?id=dbus-\\([0-9][^']*\\)'.*,\\1,p" | \
|
2013-05-22 10:33:04 +01:00
|
|
|
$(SORT) -V | \
|
|
|
|
tail -1
|
2011-01-04 00:16:11 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(PKG)_BUILD
|
2012-02-03 20:17:51 +00:00
|
|
|
cd '$(1)' && ./configure \
|
2014-02-09 12:29:51 +00:00
|
|
|
$(MXE_CONFIGURE_OPTS) \
|
2011-01-04 00:16:11 +00:00
|
|
|
--with-xml=expat \
|
|
|
|
--disable-tests \
|
|
|
|
--disable-verbose-mode \
|
|
|
|
--disable-asserts \
|
2012-06-28 21:10:53 +01:00
|
|
|
--disable-maintainer-mode \
|
2013-04-25 21:35:53 +01:00
|
|
|
--disable-silent-rules \
|
2013-08-27 18:24:06 +01:00
|
|
|
--disable-launchd \
|
2013-09-10 10:23:29 +01:00
|
|
|
--disable-doxygen-docs \
|
|
|
|
--disable-xml--docs \
|
2013-04-25 21:35:53 +01:00
|
|
|
CFLAGS='-DPROCESS_QUERY_LIMITED_INFORMATION=0x1000'
|
2011-01-04 00:16:11 +00:00
|
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)' install
|
|
|
|
endef
|