mxe/src/dbus.mk

35 lines
1.1 KiB
Makefile
Raw Normal View History

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
$(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" | \
$(SORT) -V | \
tail -1
2011-01-04 00:16:11 +00:00
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
$(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 \
--disable-launchd \
--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