parallel-rust: fix build

This commit is contained in:
q66 2020-01-02 18:04:08 +01:00
parent 328a420006
commit fcf6782102
1 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,11 @@ homepage="https://github.com/mmstick/parallel"
distfiles="https://github.com/mmstick/parallel/archive/${version}.tar.gz"
checksum=70f09dcbf6d34486e505f3e4a04d4f5e30081ec6cd71920017a8e8090eabc242
pre_build() {
# default version too old for ppc musl systems
cargo update --package libc --precise 0.2.66
}
do_install() {
vlicense LICENSE
vbin target/${RUST_TARGET}/release/parallel parallel-rust