2022-06-02 12:50:33 +00:00
|
|
|
package=polyseed
|
2023-02-28 11:33:32 +00:00
|
|
|
$(package)_version=2.0.0
|
2022-06-02 12:50:33 +00:00
|
|
|
$(package)_download_path=https://github.com/tevador/polyseed/archive/refs/tags/
|
|
|
|
$(package)_file_name=v$($(package)_version).tar.gz
|
|
|
|
$(package)_sha256_hash=45f1e6c08575286581079e6e26d341a3a33abe1f1ee2d026bd098cf632ea2349
|
2023-01-07 16:23:01 +00:00
|
|
|
$(package)_mingw32_dependencies=native_cmake
|
2023-02-28 11:33:32 +00:00
|
|
|
$(package)_patches=force-static-mingw.patch no_time_t.patch
|
2022-06-02 12:50:33 +00:00
|
|
|
|
|
|
|
define $(package)_preprocess_cmds
|
2022-12-23 12:53:58 +00:00
|
|
|
patch -p1 < $($(package)_patch_dir)/force-static-mingw.patch && \
|
2023-02-28 11:33:32 +00:00
|
|
|
patch -p1 < $($(package)_patch_dir)/no_time_t.patch
|
2022-06-02 12:50:33 +00:00
|
|
|
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
|