| 1 |
package=dbus |
| 2 |
$(package)_version=1.14.10 |
| 3 |
$(package)_download_path=https://dbus.freedesktop.org/releases/dbus |
| 4 |
$(package)_file_name=dbus-$($(package)_version).tar.xz |
| 5 |
$(package)_sha256_hash=ba1f21d2bd9d339da2d4aa8780c09df32fea87998b73da24f49ab9df1e36a50f |
| 6 |
$(package)_dependencies=expat |
| 7 |
$(package)_patches=remove-DDBUS_STATIC_BUILD.patch |
| 8 |
|
| 9 |
define $(package)_set_vars |
| 10 |
$(package)_config_opts=--disable-shared --disable-maintainer-mode --disable-xml-docs --disable-doxygen-docs |
| 11 |
$(package)_config_opts+=--disable-ducktype-docs |
| 12 |
endef |
| 13 |
|
| 14 |
define $(package)_preprocess_cmds |
| 15 |
patch -p1 < $($(package)_patch_dir)/remove-DDBUS_STATIC_BUILD.patch |
| 16 |
endef |
| 17 |
|
| 18 |
define $(package)_config_cmds |
| 19 |
$($(package)_autoconf) |
| 20 |
endef |
| 21 |
|
| 22 |
define $(package)_build_cmds |
| 23 |
$(MAKE) |
| 24 |
endef |
| 25 |
|
| 26 |
define $(package)_stage_cmds |
| 27 |
$(MAKE) DESTDIR=$($(package)_staging_dir) install |
| 28 |
endef |
| 29 |
|
| 30 |
define $(package)_postprocess_cmds |
| 31 |
rm lib/*.la |
| 32 |
endef |