Sean Bowe
7 years ago
5 changed files with 38 additions and 2 deletions
@ -0,0 +1,19 @@ |
|||
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 |
|||
|
|||
define $(package)_build_cmds |
|||
cargo build --release |
|||
endef |
|||
|
|||
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 |
@ -0,0 +1,9 @@ |
|||
package=rust |
|||
$(package)_version=1.16.0 |
|||
$(package)_download_path=https://static.rust-lang.org/dist |
|||
$(package)_file_name=rust-$($(package)_version)-x86_64-unknown-linux-gnu.tar.gz |
|||
$(package)_sha256_hash=48621912c242753ba37cad5145df375eeba41c81079df46f93ffb4896542e8fd |
|||
|
|||
define $(package)_stage_cmds |
|||
./install.sh --destdir=$($(package)_staging_dir) --prefix=$(host_prefix)/native --disable-ldconfig |
|||
endef |
Loading…
Reference in new issue