mxe/src/dbus.mk

34 lines
1.1 KiB
Makefile
Raw Normal View History

# This file is part of MXE. See LICENSE.md for licensing information.
2011-01-04 00:16:11 +00:00
PKG := dbus
2017-03-05 03:41:39 +00:00
$(PKG)_WEBSITE := https://dbus.freedesktop.org/
2011-01-04 00:16:11 +00:00
$(PKG)_IGNORE :=
2020-07-04 21:16:34 +01:00
$(PKG)_VERSION := 1.13.18
$(PKG)_CHECKSUM := 8078f5c25e34ab907ce06905d969dc8ef0ccbec367e1e1707c7ecf8460f4254e
2011-01-04 00:16:11 +00:00
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
2018-12-04 22:41:13 +00:00
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz
2017-03-05 03:41:39 +00:00
$(PKG)_URL := https://$(PKG).freedesktop.org/releases/$(PKG)/$($(PKG)_FILE)
$(PKG)_DEPS := cc expat
2011-01-04 00:16:11 +00:00
define $(PKG)_UPDATE
2017-03-05 03:41:39 +00:00
$(WGET) -q -O- 'https://cgit.freedesktop.org/dbus/dbus/refs/tags' | \
2017-12-16 11:52:14 +00:00
$(SED) -n "s,.*<a href='[^']*/tag/?h=dbus-\\([0-9][^']*\\)'.*,\\1,p" | \
$(SORT) -V | \
tail -1
2011-01-04 00:16:11 +00:00
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
2011-01-04 00:16:11 +00:00
--disable-tests \
--disable-verbose-mode \
--disable-asserts \
2012-06-28 21:10:53 +01:00
--disable-maintainer-mode \
2013-04-25 21:35:53 +01:00
--disable-silent-rules \
--disable-launchd \
--disable-doxygen-docs \
--disable-xml-docs \
2013-04-25 21:35:53 +01:00
CFLAGS='-DPROCESS_QUERY_LIMITED_INFORMATION=0x1000'
2011-01-04 00:16:11 +00:00
$(MAKE) -C '$(1)' -j '$(JOBS)' install
endef