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

34 lines
1.0 KiB

# This file is part of MXE.
# See index.html for further information.
14 years ago
PKG := dbus
$(PKG)_IGNORE :=
$(PKG)_CHECKSUM := 676ba5211d85f5273ff5748e72e3b48b5104e7ea
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' | \
14 years ago
$(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)' \
--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
$(MAKE) -C '$(1)' -j '$(JOBS)' install
endef