You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
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=f9f2114ef2460c80d97db07a3fe6fcd058cdb4ffb5ca84f4b4c61f81b2907289
|
|
|
|
|
|
|
|
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
|