feather/contrib/depends/packages/dbus.mk

32 lines
887 B
Makefile
Raw Normal View History

2023-06-28 10:18:44 +00:00
package=dbus
$(package)_version=1.13.2
$(package)_download_path=https://dbus.freedesktop.org/releases/dbus
$(package)_file_name=dbus-$($(package)_version).tar.gz
$(package)_sha256_hash=945deb349a7e2999184827c17351c1bf93c6395b9c3ade0c91cad42cb93435b1
$(package)_dependencies=expat
$(package)_patches=remove-DDBUS_STATIC_BUILD.patch
define $(package)_set_vars
$(package)_config_opts=--disable-shared --disable-maintainer-mode --disable-xml-docs --disable-doxygen-docs
$(package)_config_opts+=--disable-ducktype-docs
endef
define $(package)_preprocess_cmds
patch -p1 < $($(package)_patch_dir)/remove-DDBUS_STATIC_BUILD.patch
endef
define $(package)_config_cmds
$($(package)_autoconf)
endef
define $(package)_build_cmds
$(MAKE)
endef
define $(package)_stage_cmds
$(MAKE) DESTDIR=$($(package)_staging_dir) install
endef
define $(package)_postprocess_cmds
rm lib/*.la
endef