mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-01 01:47:42 +00:00
24 lines
792 B
Makefile
24 lines
792 B
Makefile
package=polyseed
|
|
$(package)_version=1.0.0
|
|
$(package)_download_path=https://github.com/tevador/polyseed/archive/refs/tags/
|
|
$(package)_file_name=v$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=45f1e6c08575286581079e6e26d341a3a33abe1f1ee2d026bd098cf632ea2349
|
|
$(package)_mingw32_dependencies=native_cmake
|
|
$(package)_patches=force-static-mingw.patch no_time_t.patch
|
|
|
|
define $(package)_preprocess_cmds
|
|
patch -p1 < $($(package)_patch_dir)/force-static-mingw.patch && \
|
|
patch -p1 < $($(package)_patch_dir)/no_time_t.patch
|
|
endef
|
|
|
|
define $(package)_config_cmds
|
|
$($(package)_cmake) -DCMAKE_INSTALL_PREFIX=$(host_prefix) -DCMAKE_C_COMPILER= .
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE)
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
endef
|