| 1 |
package=libxcb_util |
| 2 |
$(package)_version=0.4.1 |
| 3 |
$(package)_download_path=https://xcb.freedesktop.org/dist |
| 4 |
$(package)_file_name=xcb-util-$($(package)_version).tar.xz |
| 5 |
$(package)_sha256_hash=5abe3bbbd8e54f0fa3ec945291b7e8fa8cfd3cccc43718f8758430f94126e512 |
| 6 |
$(package)_dependencies=libxcb |
| 7 |
|
| 8 |
define $(package)_set_vars |
| 9 |
$(package)_config_opts = --disable-shared --disable-devel-docs --without-doxygen |
| 10 |
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking |
| 11 |
$(package)_config_opts += --with-pic |
| 12 |
endef |
| 13 |
|
| 14 |
define $(package)_preprocess_cmds |
| 15 |
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub . |
| 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 -rf share/man share/doc lib/*.la |
| 32 |
endef |