Hush Full Node software. We were censored from Github, this is where all development happens now.
https://hush.is
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.
35 lines
1.3 KiB
35 lines
1.3 KiB
package=librustzcash
|
|
$(package)_version=0.1
|
|
$(package)_download_path=https://github.com/zcash/$(package)/archive/
|
|
$(package)_file_name=$(package)-$($(package)_git_commit).tar.gz
|
|
$(package)_download_file=$($(package)_git_commit).tar.gz
|
|
$(package)_sha256_hash=a5760a90d4a1045c8944204f29fa2a3cf2f800afee400f88bf89bbfe2cce1279
|
|
$(package)_git_commit=91348647a86201a9482ad4ad68398152dc3d635e
|
|
$(package)_dependencies=rust
|
|
|
|
|
|
ifeq ($(host_os),mingw32)
|
|
define $(package)_build_cmds
|
|
~/.cargo/bin/cargo build --release --target=x86_64-pc-windows-gnu --verbose
|
|
endef
|
|
else
|
|
define $(package)_build_cmds
|
|
cargo build --release
|
|
endef
|
|
endif
|
|
|
|
ifeq ($(host_os),mingw32)
|
|
define $(package)_stage_cmds
|
|
mkdir $($(package)_staging_dir)$(host_prefix)/lib/ && \
|
|
mkdir $($(package)_staging_dir)$(host_prefix)/include/ && \
|
|
cp target/x86_64-pc-windows-gnu/release/rustzcash.lib $($(package)_staging_dir)$(host_prefix)/lib/ && \
|
|
cp include/librustzcash.h $($(package)_staging_dir)$(host_prefix)/include/
|
|
endef
|
|
else
|
|
define $(package)_stage_cmds
|
|
mkdir $($(package)_staging_dir)$(host_prefix)/lib/ && \
|
|
mkdir $($(package)_staging_dir)$(host_prefix)/include/ && \
|
|
cp target/release/librustzcash.a $($(package)_staging_dir)$(host_prefix)/lib/ && \
|
|
cp include/librustzcash.h $($(package)_staging_dir)$(host_prefix)/include/
|
|
endef
|
|
endif
|
|
|