feather/contrib/depends/packages/utf8proc.mk

24 lines
669 B
Makefile
Raw Normal View History

2023-10-10 12:56:22 +00:00
package=utf8proc
2024-09-24 22:47:08 +00:00
$(package)_version=2.9.0
$(package)_download_path=https://github.com/JuliaStrings/utf8proc/releases/download/v$($(package)_version)/
2023-10-10 12:56:22 +00:00
$(package)_file_name=$(package)-$($(package)_version).tar.gz
2024-09-24 22:47:08 +00:00
$(package)_sha256_hash=bd215d04313b5bc42c1abedbcb0a6574667e31acee1085543a232204e36384c4
2023-10-10 12:56:22 +00:00
$(package)_patches=force_static.patch
2024-09-24 22:47:08 +00:00
$(package)_build_subdir=build
2023-10-10 12:56:22 +00:00
define $(package)_preprocess_cmds
patch -p1 < $($(package)_patch_dir)/force_static.patch
endef
define $(package)_config_cmds
2024-09-24 22:47:08 +00:00
$($(package)_cmake) -S .. -B .
2023-10-10 12:56:22 +00:00
endef
define $(package)_build_cmds
2024-09-24 22:47:08 +00:00
$(MAKE)
2023-10-10 12:56:22 +00:00
endef
define $(package)_stage_cmds
2024-09-24 22:47:08 +00:00
$(MAKE) DESTDIR=$($(package)_staging_dir) install
2023-10-10 12:56:22 +00:00
endef