Add libsodium to the depends system.

This commit is contained in:
Taylor Hornby 2016-03-17 16:29:37 -06:00
parent a633044b25
commit abbab2cc4f
2 changed files with 24 additions and 1 deletions

View File

@ -0,0 +1,23 @@
package=libsodium
$(package)_version=1.0.8
$(package)_download_path=https://download.libsodium.org/libsodium/releases/
$(package)_file_name=libsodium-1.0.8.tar.gz
$(package)_sha256_hash=c0f191d2527852641e0a996b7b106d2e04cbc76ea50731b2d0babd3409301926
$(package)_dependencies=
$(package)_config_opts=
define $(package)_preprocess_cmds
cd $($(package)_build_subdir); ./autogen.sh
endef
define $(package)_config_cmds
$($(package)_autoconf) --enable-static --disable-shared
endef
define $(package)_build_cmds
$(MAKE)
endef
define $(package)_stage_cmds
$(MAKE) DESTDIR=$($(package)_staging_dir) install
endef

View File

@ -1,4 +1,4 @@
zerocash_packages := libsnark crypto++ libgmp
zerocash_packages := libsnark crypto++ libgmp libsodium
packages:=boost openssl $(zerocash_packages)
native_packages := native_ccache native_comparisontool