feather/contrib/depends/packages/libxcb_util.mk

33 lines
887 B
Makefile
Raw Normal View History

2022-12-23 15:43:34 +00:00
package=libxcb_util
2023-06-28 09:05:21 +00:00
$(package)_version=0.4.1
2022-12-23 15:43:34 +00:00
$(package)_download_path=https://xcb.freedesktop.org/dist
2023-06-28 09:05:21 +00:00
$(package)_file_name=xcb-util-$($(package)_version).tar.xz
$(package)_sha256_hash=5abe3bbbd8e54f0fa3ec945291b7e8fa8cfd3cccc43718f8758430f94126e512
2022-12-23 15:43:34 +00:00
$(package)_dependencies=libxcb
define $(package)_set_vars
$(package)_config_opts = --disable-shared --disable-devel-docs --without-doxygen
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking
$(package)_config_opts += --with-pic
endef
define $(package)_preprocess_cmds
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub .
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 -rf share/man share/doc lib/*.la
endef