mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-27 15:24:39 +00:00
23 lines
665 B
Makefile
23 lines
665 B
Makefile
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
|
|
$(package)_sha256_hash=957445a1d9553d5b50ef36920db647077d2b9f348f060e3703db83e5a49f9803
|
|
|
|
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
|
|
|