mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-16 17:27:38 +00:00
16 lines
612 B
Makefile
16 lines
612 B
Makefile
package=zstd
|
|
$(package)_version=1.5.6
|
|
$(package)_download_path=https://github.com/facebook/zstd/releases/download/v$($(package)_version)
|
|
$(package)_file_name=zstd-$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=8c29e06cf42aacc1eafc4077ae2ec6c6fcb96a626157e0593d5e82a34fd403c1
|
|
|
|
define $(package)_build_cmds
|
|
$($(package)_cmake) -DCMAKE_INSTALL_PREFIX=$(host_prefix) -DHOST=$(host) -DZSTD_LEGACY_SUPPORT=OFF -B build-cmake-debug -S build/cmake && \
|
|
cd build-cmake-debug && \
|
|
$(MAKE)
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
cd build-cmake-debug && \
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
endef
|