redox/recipes/wip/services/hickory-dns/recipe.toml
2024-02-16 01:42:41 +00:00

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}"
"""