| 1 |
package=libxcb_util_image |
| 2 |
$(package)_version=0.4.1 |
| 3 |
$(package)_download_path=https://xcb.freedesktop.org/dist |
| 4 |
$(package)_file_name=xcb-util-image-$($(package)_version).tar.xz |
| 5 |
$(package)_sha256_hash=ccad8ee5dadb1271fd4727ad14d9bd77a64e505608766c4e98267d9aede40d3d |
| 6 |
$(package)_dependencies=libxcb libxcb_util |
| 7 |
$(package)_patches = no-tests.patch |
| 8 |
|
| 9 |
define $(package)_set_vars |
| 10 |
$(package)_config_opts=--disable-shared --disable-devel-docs --without-doxygen |
| 11 |
$(package)_config_opts+= --disable-dependency-tracking --enable-option-checking |
| 12 |
endef |
| 13 |
|
| 14 |
define $(package)_preprocess_cmds |
| 15 |
rm -rf test && \ |
| 16 |
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub . && \ |
| 17 |
patch -p1 -i $($(package)_patch_dir)/no-tests.patch |
| 18 |
endef |
| 19 |
|
| 20 |
define $(package)_config_cmds |
| 21 |
$($(package)_autoconf) |
| 22 |
endef |
| 23 |
|
| 24 |
define $(package)_build_cmds |
| 25 |
$(MAKE) |
| 26 |
endef |
| 27 |
|
| 28 |
define $(package)_stage_cmds |
| 29 |
$(MAKE) DESTDIR=$($(package)_staging_dir) install |
| 30 |
endef |
| 31 |
|
| 32 |
define $(package)_postprocess_cmds |
| 33 |
rm -rf share/man share/doc lib/*.la |
| 34 |
endef |