Lines 38-44
CARGO_DIST_SUBDIR?= rust/crates
Link Here
|
38 |
|
38 |
|
39 |
# Generate list of DISTFILES. |
39 |
# Generate list of DISTFILES. |
40 |
.for _crate in ${CARGO_CRATES} |
40 |
.for _crate in ${CARGO_CRATES} |
41 |
MASTER_SITES+= ${MASTER_SITES_CRATESIO}/${_crate:C/-[0-9].*$//}/${_crate:C/^.*-([0-9].*)/\1/}/download?dummy=/:cargo_${_crate:S/-//g:S/.//g} |
41 |
MASTER_SITES+= ${MASTER_SITES_CRATESIO}/${_crate:C/^(.*)-[0-9].*/\1/}/${_crate:C/^.*-([0-9].*)/\1/}/download?dummy=/:cargo_${_crate:S/-//g:S/.//g} |
42 |
DISTFILES+= ${CARGO_DIST_SUBDIR}/${_crate}.tar.gz:cargo_${_crate:S/-//g:S/.//g} |
42 |
DISTFILES+= ${CARGO_DIST_SUBDIR}/${_crate}.tar.gz:cargo_${_crate:S/-//g:S/.//g} |
43 |
.endfor |
43 |
.endfor |
44 |
|
44 |
|