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.
34 lines
1.1 KiB
34 lines
1.1 KiB
# This file is part of MXE. See LICENSE.md for licensing information.
|
|
|
|
PKG := dbus
|
|
$(PKG)_WEBSITE := https://dbus.freedesktop.org/
|
|
$(PKG)_IGNORE :=
|
|
$(PKG)_VERSION := 1.13.10
|
|
$(PKG)_CHECKSUM := a11239e504b99adfa9ded0bbdb2f752fd51f1afc768d78a7e5642282622855f2
|
|
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
|
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz
|
|
$(PKG)_URL := https://$(PKG).freedesktop.org/releases/$(PKG)/$($(PKG)_FILE)
|
|
$(PKG)_DEPS := cc expat
|
|
|
|
define $(PKG)_UPDATE
|
|
$(WGET) -q -O- 'https://cgit.freedesktop.org/dbus/dbus/refs/tags' | \
|
|
$(SED) -n "s,.*<a href='[^']*/tag/?h=dbus-\\([0-9][^']*\\)'.*,\\1,p" | \
|
|
$(SORT) -V | \
|
|
tail -1
|
|
endef
|
|
|
|
define $(PKG)_BUILD
|
|
cd '$(1)' && ./configure \
|
|
$(MXE_CONFIGURE_OPTS) \
|
|
--disable-tests \
|
|
--disable-verbose-mode \
|
|
--disable-asserts \
|
|
--disable-maintainer-mode \
|
|
--disable-silent-rules \
|
|
--disable-launchd \
|
|
--disable-doxygen-docs \
|
|
--disable-xml-docs \
|
|
CFLAGS='-DPROCESS_QUERY_LIMITED_INFORMATION=0x1000'
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)' install
|
|
endef
|