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.
36 lines
1.1 KiB
36 lines
1.1 KiB
# This file is part of MXE.
|
|
# See index.html for further information.
|
|
|
|
PKG := dbus
|
|
$(PKG)_IGNORE :=
|
|
$(PKG)_VERSION := 1.7.2
|
|
$(PKG)_CHECKSUM := 6e1828dded661183cd5e852d2f50d1e45c23dcff
|
|
$(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
|
|
|
|
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
|
|
endef
|
|
|
|
define $(PKG)_BUILD
|
|
cd '$(1)' && ./configure \
|
|
--host='$(TARGET)' \
|
|
--build="`config.guess`" \
|
|
--prefix='$(PREFIX)/$(TARGET)' \
|
|
--with-xml=expat \
|
|
--disable-tests \
|
|
--disable-verbose-mode \
|
|
--disable-asserts \
|
|
--disable-shared \
|
|
--disable-maintainer-mode \
|
|
--enable-static \
|
|
--disable-silent-rules \
|
|
CFLAGS='-DPROCESS_QUERY_LIMITED_INFORMATION=0x1000'
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)' install
|
|
endef
|