mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-06 11:38:41 +08:00
22 lines
572 B
TOML
22 lines
572 B
TOML
#TODO compiled but not tested
|
|
[source]
|
|
git = "https://github.com/hickory-dns/hickory-dns"
|
|
rev = "408d0baca080d1b201cd33e616dc4abd160ef6c0"
|
|
[build]
|
|
template = "custom"
|
|
dependencies = [
|
|
"openssl1",
|
|
]
|
|
script = """
|
|
binary=hickory-dns
|
|
"${COOKBOOK_CARGO}" build \
|
|
--manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \
|
|
--bin "${binary}" \
|
|
--release
|
|
--all-features
|
|
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
|
|
cp -v \
|
|
"target/${TARGET}/release/${binary}" \
|
|
"${COOKBOOK_STAGE}/usr/bin/${binary}"
|
|
"""
|