mirror of
https://github.com/feather-wallet/feather.git
synced 2024-10-31 17:37:43 +00:00
24 lines
866 B
Makefile
24 lines
866 B
Makefile
# TODO: we're not actually using the sources downloaded here. Perhaps host patches in a github repo.
|
|
package=appimage_runtime
|
|
$(package)_version=13
|
|
$(package)_download_path=https://github.com/AppImage/AppImageKit/archive/refs/tags/
|
|
$(package)_file_name=$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=51b837c78dd99ecc1cf3dd283f4a98a1be665b01457da0edc1ff736d12974b1a
|
|
$(package)_dependencies=libsquashfuse libappimage liblzma
|
|
$(package)_patches=CMakeLists.txt runtime.c notify.c
|
|
|
|
define $(package)_preprocess_cmds
|
|
cp -v $($(package)_patch_dir)/* .
|
|
endef
|
|
|
|
define $(package)_config_cmds
|
|
$($(package)_cmake) -DCMAKE_INSTALL_PREFIX=$(host_prefix) -DHOST=$(host) -DGLIBC_DYNAMIC_LINKER=$(GLIBC_DYNAMIC_LINKER) .
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE)
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
cp -a runtime $($(package)_staging_prefix_dir)/runtime
|
|
endef
|