feather/contrib/depends/packages/libxcb_util_image.mk

35 lines
987 B
Makefile
Raw Normal View History

2022-12-23 15:43:34 +00:00
package=libxcb_util_image
2023-06-28 09:49:37 +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:49:37 +00:00
$(package)_file_name=xcb-util-image-$($(package)_version).tar.xz
$(package)_sha256_hash=ccad8ee5dadb1271fd4727ad14d9bd77a64e505608766c4e98267d9aede40d3d
2022-12-23 15:43:34 +00:00
$(package)_dependencies=libxcb libxcb_util
2023-06-28 10:50:32 +00:00
$(package)_patches = no-tests.patch
2022-12-23 15:43:34 +00:00
define $(package)_set_vars
2023-06-28 10:50:32 +00:00
$(package)_config_opts=--disable-shared --disable-devel-docs --without-doxygen
2022-12-23 15:43:34 +00:00
$(package)_config_opts+= --disable-dependency-tracking --enable-option-checking
endef
define $(package)_preprocess_cmds
2023-06-28 10:50:32 +00:00
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub . && \
patch -p1 -i $($(package)_patch_dir)/no-tests.patch && \
autoreconf -i
2022-12-23 15:43:34 +00:00
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