16 lines
543 B
Makefile
16 lines
543 B
Makefile
|
package=crate_num_cpus
|
||
|
$(package)_crate_name=num_cpus
|
||
|
$(package)_version=1.8.0
|
||
|
$(package)_download_path=https://static.crates.io/crates/$($(package)_crate_name)
|
||
|
$(package)_file_name=$($(package)_crate_name)-$($(package)_version).crate
|
||
|
$(package)_sha256_hash=c51a3322e4bca9d212ad9a158a02abc6934d005490c054a2778df73a70aa0a30
|
||
|
$(package)_crate_versioned_name=$($(package)_crate_name)
|
||
|
|
||
|
define $(package)_preprocess_cmds
|
||
|
$(call generate_crate_checksum,$(package))
|
||
|
endef
|
||
|
|
||
|
define $(package)_stage_cmds
|
||
|
$(call vendor_crate_source,$(package))
|
||
|
endef
|