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

35 lines
1.0 KiB

14 years ago
# This file is part of mingw-cross-env.
# See doc/index.html for further information.
# dbus
PKG := dbus
$(PKG)_IGNORE :=
$(PKG)_VERSION := 1.5.8
$(PKG)_CHECKSUM := c5e9e286b5757f892cc21f894145e7f05c8fc813
14 years ago
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_WEBSITE := http://$(PKG).freedesktop.org/
$(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=[^0-9]*\\([0-9][^']*\\)'.*,\\1,p" | \
grep -v '^1\.[01234]\.' | \
14 years ago
head -1
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
14 years ago
--host='$(TARGET)' \
--prefix='$(PREFIX)/$(TARGET)' \
--with-xml=expat \
--disable-tests \
--disable-verbose-mode \
--disable-asserts \
--disable-shared \
--enable-static \
--disable-silent-rules
$(MAKE) -C '$(1)' -j '$(JOBS)' install
endef