diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-03-03 19:00:12 +0200 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-03-10 08:23:47 +0800 |
commit | 3272e34f9c548f7e4570d786fd322947e3cf20c6 (patch) | |
tree | 262d2a45dfbbf2986cb4f3257f09c38c861b8895 /depends/packages/libxkbcommon.mk | |
parent | d769b3372d9833224a5151000ab99048474f8051 (diff) | |
download | bitcoin-3272e34f9c548f7e4570d786fd322947e3cf20c6.tar.xz |
build: Add xkbcommon 0.8.4
Co-authored-by: fanquake <fanquake@gmail.com>
Diffstat (limited to 'depends/packages/libxkbcommon.mk')
-rw-r--r-- | depends/packages/libxkbcommon.mk | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/depends/packages/libxkbcommon.mk b/depends/packages/libxkbcommon.mk new file mode 100644 index 0000000000..cdd5af194b --- /dev/null +++ b/depends/packages/libxkbcommon.mk @@ -0,0 +1,32 @@ +package=libxkbcommon +$(package)_version=0.8.4 +$(package)_download_path=https://xkbcommon.org/download/ +$(package)_file_name=$(package)-$($(package)_version).tar.xz +$(package)_sha256_hash=60ddcff932b7fd352752d51a5c4f04f3d0403230a584df9a2e0d5ed87c486c8b +$(package)_dependencies=libxcb + +define $(package)_set_vars +$(package)_config_opts = --enable-option-checking --disable-dependency-tracking +$(package)_config_opts += --disable-static --disable-docs +endef + +define $(package)_preprocess_cmds + cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub build-aux +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 + |