2021-03-17 05:06:29 +01:00
|
|
|
package=native_libtapi
|
2023-09-06 16:06:39 +02:00
|
|
|
$(package)_version=eb33a59f2e30ff9724dc1ea8bee8b5229b0557c9
|
2021-03-17 05:06:29 +01:00
|
|
|
$(package)_download_path=https://github.com/tpoechtrager/apple-libtapi/archive
|
|
|
|
$(package)_file_name=$($(package)_version).tar.gz
|
2023-09-06 16:06:39 +02:00
|
|
|
$(package)_sha256_hash=d4d46c64622f13d6938cecf989046d9561011bb59e8ee835f8f39825d67f578f
|
|
|
|
$(package)_patches=disable_zlib.patch
|
2021-03-17 05:06:29 +01:00
|
|
|
|
|
|
|
ifeq ($(strip $(FORCE_USE_SYSTEM_CLANG)),)
|
2023-10-25 20:27:54 +02:00
|
|
|
$(package)_dependencies=native_llvm
|
2021-03-17 05:06:29 +01:00
|
|
|
endif
|
|
|
|
|
2023-09-06 16:06:39 +02:00
|
|
|
define $(package)_preprocess_cmds
|
|
|
|
patch -p1 < $($(package)_patch_dir)/disable_zlib.patch
|
|
|
|
endef
|
|
|
|
|
2021-03-17 05:06:29 +01:00
|
|
|
define $(package)_build_cmds
|
|
|
|
CC=$(clang_prog) CXX=$(clangxx_prog) INSTALLPREFIX=$($(package)_staging_prefix_dir) ./build.sh
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_stage_cmds
|
2022-07-28 15:24:30 +02:00
|
|
|
./install.sh
|
2021-03-17 05:06:29 +01:00
|
|
|
endef
|