Just Wonder
5 years ago
7 changed files with 28 additions and 7 deletions
@ -0,0 +1,22 @@
@@ -0,0 +1,22 @@
|
||||
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=cd191879fe6da6adf1f64801d68ced47b610e1558080a754779b32cf704ce9e3 |
||||
|
||||
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 |
||||
|
Loading…
Reference in new issue