mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-01 01:47:42 +00:00
34 lines
987 B
Makefile
34 lines
987 B
Makefile
package=libxcb_util_image
|
|
$(package)_version=0.4.1
|
|
$(package)_download_path=https://xcb.freedesktop.org/dist
|
|
$(package)_file_name=xcb-util-image-$($(package)_version).tar.xz
|
|
$(package)_sha256_hash=ccad8ee5dadb1271fd4727ad14d9bd77a64e505608766c4e98267d9aede40d3d
|
|
$(package)_dependencies=libxcb libxcb_util
|
|
$(package)_patches = no-tests.patch
|
|
|
|
define $(package)_set_vars
|
|
$(package)_config_opts=--disable-shared --disable-devel-docs --without-doxygen
|
|
$(package)_config_opts+= --disable-dependency-tracking --enable-option-checking
|
|
endef
|
|
|
|
define $(package)_preprocess_cmds
|
|
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub . && \
|
|
patch -p1 -i $($(package)_patch_dir)/no-tests.patch && \
|
|
autoreconf -i
|
|
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
|