From 49fdd0c8c90871b24669be34517268081490e3a1 Mon Sep 17 00:00:00 2001 From: Ribbon Date: Thu, 21 Dec 2023 13:55:41 +0000 Subject: [PATCH] update recipes --- recipes/wip/hgrep/recipe.toml | 2 +- recipes/wip/hickory-dns/recipe.toml | 14 +++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/recipes/wip/hgrep/recipe.toml b/recipes/wip/hgrep/recipe.toml index d0940604c..518bafcec 100644 --- a/recipes/wip/hgrep/recipe.toml +++ b/recipes/wip/hgrep/recipe.toml @@ -1,4 +1,4 @@ -#TODO Not compiled or tested +#TODO compilation error, missing mimalloc sys/syscall.h [source] git = "https://github.com/rhysd/hgrep" rev = "85d7271d477a41708d89e1e7bc14e94dcab149ba" diff --git a/recipes/wip/hickory-dns/recipe.toml b/recipes/wip/hickory-dns/recipe.toml index 08faaa68b..a8c2df1db 100644 --- a/recipes/wip/hickory-dns/recipe.toml +++ b/recipes/wip/hickory-dns/recipe.toml @@ -3,7 +3,19 @@ git = "https://github.com/hickory-dns/hickory-dns" rev = "408d0baca080d1b201cd33e616dc4abd160ef6c0" [build] -template = "cargo" +template = "custom" dependencies = [ "openssl1", ] +script = """ +package="hickory-dns" +"${COOKBOOK_CARGO}" build \ + --manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \ + --package "${package}" \ + --release + --all-features + mkdir -pv "${COOKBOOK_STAGE}/bin" + cp -v \ + "target/${TARGET}/release/${package}" \ + "${COOKBOOK_STAGE}/bin/${package}" +"""