kevacoin/depends/packages/libsodium.mk

22 lines
664 B
Makefile
Raw Permalink Normal View History

2019-11-05 19:21:30 +00:00
package=libsodium
$(package)_version=1.0.18
$(package)_download_path=https://download.libsodium.org/libsodium/releases/
$(package)_file_name=$(package)-$($(package)_version)-stable.tar.gz
2021-12-27 01:08:29 +00:00
$(package)_sha256_hash=9de063e03cf9316b5e0e8188bb4991027c88f82462146a5e49bb47f19d0cf6f7
2019-11-05 19:21:30 +00:00
define $(package)_set_vars
$(package)_config_opts_mingw32+=CFLAGS="-Ofast -fomit-frame-pointer -march=pentium3 -mtune=westmere"
endef
define $(package)_config_cmds
./configure --host=$(HOST) --prefix=$(host_prefix) --exec-prefix=$(host_prefix)
endef
define $(package)_build_cmds
$(MAKE)
endef
define $(package)_stage_cmds
$(MAKE) DESTDIR=$($(package)_staging_dir) install
endef