2022-12-23 15:43:34 +00:00
|
|
|
package=xcb_proto
|
2024-04-16 19:48:51 +00:00
|
|
|
$(package)_version=1.17.0
|
2022-12-23 15:43:34 +00:00
|
|
|
$(package)_download_path=https://xorg.freedesktop.org/archive/individual/proto
|
2024-04-16 19:48:51 +00:00
|
|
|
$(package)_file_name=xcb-proto-$($(package)_version).tar.gz
|
|
|
|
$(package)_sha256_hash=392d3c9690f8c8202a68fdb89c16fd55159ab8d65000a6da213f4a1576e97a16
|
|
|
|
|
|
|
|
define $(package)_preprocess_cmds
|
|
|
|
find . -type f -name 'Makefile.in' -exec rm {} + && \
|
|
|
|
rm aclocal.m4 configure install-sh missing py-compile && \
|
|
|
|
autoreconf -fi
|
|
|
|
endef
|
2022-12-23 15:43:34 +00:00
|
|
|
|
|
|
|
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 lib/python*/site-packages/xcbgen/__pycache__
|
|
|
|
endef
|