feather/contrib/depends/packages/dbus.mk
2023-06-28 19:16:14 +02:00

32 lines
No EOL
887 B
Makefile

package=dbus
$(package)_version=1.14.8
$(package)_download_path=https://dbus.freedesktop.org/releases/dbus
$(package)_file_name=dbus-$($(package)_version).tar.xz
$(package)_sha256_hash=a6bd5bac5cf19f0c3c594bdae2565a095696980a683a0ef37cb6212e093bde35
$(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