Skip to content

Commit 816a083

Browse files
committed
[Depends] libsodium added.
1 parent aaa625f commit 816a083

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

depends/packages/libsodium.mk

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
package=libsodium
2+
$(package)_version=1.0.15
3+
$(package)_download_path=https://download.libsodium.org/libsodium/releases/old/unsupported/
4+
$(package)_file_name=$(package)-$($(package)_version).tar.gz
5+
$(package)_sha256_hash=fb6a9e879a2f674592e4328c5d9f79f082405ee4bb05cb6e679b90afe9e178f4
6+
$(package)_dependencies=
7+
$(package)_config_opts=
8+
9+
define $(package)_preprocess_cmds
10+
cd $($(package)_build_subdir); ./autogen.sh
11+
endef
12+
13+
define $(package)_config_cmds
14+
$($(package)_autoconf) --enable-static --disable-shared
15+
endef
16+
17+
define $(package)_build_cmds
18+
$(MAKE)
19+
endef
20+
21+
define $(package)_stage_cmds
22+
$(MAKE) DESTDIR=$($(package)_staging_dir) install
23+
endef

depends/packages/packages.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ rust_crates := \
2525
crate_winapi \
2626
crate_winapi_x86_64_pc_windows_gnu
2727
rust_packages := rust $(rust_crates) librustzcash
28-
packages:=boost openssl libevent gmp $(zcash_packages)
28+
packages:=boost openssl libevent gmp $(zcash_packages) libsodium
2929

3030
qt_native_packages = native_protobuf
3131
qt_packages = qrencode protobuf zlib

0 commit comments

Comments
 (0)