You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mxe/src/dbus.mk

39 lines
1.2 KiB

# This file is part of MXE.
# See index.html for further information.
14 years ago
PKG := dbus
$(PKG)_IGNORE :=
$(PKG)_VERSION := 1.8.0
$(PKG)_CHECKSUM := d14ab33e92e29fa732cdff69214913832181e737
14 years ago
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://$(PKG).freedesktop.org/releases/$(PKG)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc expat
14 years ago
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://cgit.freedesktop.org/dbus/dbus/refs/tags' | \
$(SED) -n "s,.*<a href='[^']*/tag/?id=dbus-\\([0-9][^']*\\)'.*,\\1,p" | \
$(SORT) -V | \
tail -1
14 years ago
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
14 years ago
--host='$(TARGET)' \
--build="`config.guess`" \
14 years ago
--prefix='$(PREFIX)/$(TARGET)' \
--with-xml=expat \
--disable-tests \
--disable-verbose-mode \
--disable-asserts \
--disable-shared \
--disable-maintainer-mode \
14 years ago
--enable-static \
--disable-silent-rules \
--disable-launchd \
--disable-doxygen-docs \
--disable-xml--docs \
CFLAGS='-DPROCESS_QUERY_LIMITED_INFORMATION=0x1000'
14 years ago
$(MAKE) -C '$(1)' -j '$(JOBS)' install
endef