| 1 |
package=polyseed |
| 2 |
$(package)_version=2.0.0 |
| 3 |
$(package)_download_path=https://github.com/tevador/$(package)/archive/refs/tags/ |
| 4 |
$(package)_download_file=v$($(package)_version).tar.gz |
| 5 |
$(package)_file_name=$(package)-$($(package)_version).tar.gz |
| 6 |
$(package)_sha256_hash=f36282fcbcd68d32461b8230c89e1a40661bd46b91109681cec637433004135a |
| 7 |
$(package)_patches=force-static-mingw.patch |
| 8 |
|
| 9 |
define $(package)_preprocess_cmds |
| 10 |
patch -p1 < $($(package)_patch_dir)/force-static-mingw.patch |
| 11 |
endef |
| 12 |
|
| 13 |
define $(package)_config_cmds |
| 14 |
$($(package)_cmake) -DCMAKE_INSTALL_PREFIX=$(host_prefix) -DCMAKE_C_COMPILER= . |
| 15 |
endef |
| 16 |
|
| 17 |
define $(package)_build_cmds |
| 18 |
$(MAKE) |
| 19 |
endef |
| 20 |
|
| 21 |
define $(package)_stage_cmds |
| 22 |
$(MAKE) DESTDIR=$($(package)_staging_dir) install |
| 23 |
endef |