mxe/src/dbus.mk

35 lines
1.0 KiB
Makefile
Raw Normal View History

2011-01-04 00:16:11 +00:00
# This file is part of mingw-cross-env.
# See doc/index.html for further information.
# dbus
PKG := dbus
$(PKG)_IGNORE :=
2011-09-23 15:28:25 +01:00
$(PKG)_VERSION := 1.5.8
$(PKG)_CHECKSUM := c5e9e286b5757f892cc21f894145e7f05c8fc813
2011-01-04 00:16:11 +00:00
$(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)
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' | \
$(SED) -n "s,.*<a href='[^']*/tag/?id=[^0-9]*\\([0-9][^']*\\)'.*,\\1,p" | \
grep -v '^1\.[01234]\.' | \
2011-01-04 00:16:11 +00:00
head -1
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
2011-01-04 00:16:11 +00:00
--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