From 5ef4bf10c28a60ae6b2e6faa20c7617ac3b1a2e1 Mon Sep 17 00:00:00 2001 From: Ribbon <ribbon_45@proton.me> Date: Thu, 7 Mar 2024 09:43:34 +0000 Subject: [PATCH] add recipes --- recipes/wip/dev/omnibor-rs/recipe.toml | 17 +++++++++++++++++ recipes/wip/finance/bitcoin-core/recipe.toml | 15 +++++++++++++++ recipes/wip/finance/electrs/recipe.toml | 5 +++++ recipes/wip/finance/floresta/recipe.toml | 8 ++++++++ recipes/wip/finance/liana/recipe.toml | 5 +++++ recipes/wip/finance/nakatoshi/recipe.toml | 5 +++++ recipes/wip/finance/ord/recipe.toml | 8 ++++++++ .../wip/finance/rusty-blockparser/recipe.toml | 5 +++++ recipes/wip/games/endless-sky/recipe.toml | 16 ++++++++++++++++ recipes/wip/security/plutus-rustus/recipe.toml | 5 +++++ 10 files changed, 89 insertions(+) create mode 100644 recipes/wip/dev/omnibor-rs/recipe.toml create mode 100644 recipes/wip/finance/bitcoin-core/recipe.toml create mode 100644 recipes/wip/finance/electrs/recipe.toml create mode 100644 recipes/wip/finance/floresta/recipe.toml create mode 100644 recipes/wip/finance/liana/recipe.toml create mode 100644 recipes/wip/finance/nakatoshi/recipe.toml create mode 100644 recipes/wip/finance/ord/recipe.toml create mode 100644 recipes/wip/finance/rusty-blockparser/recipe.toml create mode 100644 recipes/wip/games/endless-sky/recipe.toml create mode 100644 recipes/wip/security/plutus-rustus/recipe.toml diff --git a/recipes/wip/dev/omnibor-rs/recipe.toml b/recipes/wip/dev/omnibor-rs/recipe.toml new file mode 100644 index 000000000..3a9e19bd3 --- /dev/null +++ b/recipes/wip/dev/omnibor-rs/recipe.toml @@ -0,0 +1,17 @@ +#TODO Not compiled or tested +[source] +git = "https://github.com/omnibor/omnibor-rs" +[build] +template = "custom" +script = """ +binary=omnibor +"${COOKBOOK_CARGO}" build \ + --manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \ + --bin "${binary}" \ + --release + --build-binary + mkdir -pv "${COOKBOOK_STAGE}/usr/bin" + cp -v \ + "target/${TARGET}/release/${binary}" \ + "${COOKBOOK_STAGE}/usr/bin/${binary}" +""" diff --git a/recipes/wip/finance/bitcoin-core/recipe.toml b/recipes/wip/finance/bitcoin-core/recipe.toml new file mode 100644 index 000000000..f8b7be255 --- /dev/null +++ b/recipes/wip/finance/bitcoin-core/recipe.toml @@ -0,0 +1,15 @@ +#TODO Not compiled or tested +[source] +tar = "https://bitcoincore.org/bin/bitcoin-core-26.0/bitcoin-26.0.tar.gz" +[build] +template = "custom" +dependencies = [ + "boost", + "libevent", +] +script = """ +COOKBOOK_CONFIGURE_FLAGS+=( + --disable-wallet +) +cookbook_configure +""" diff --git a/recipes/wip/finance/electrs/recipe.toml b/recipes/wip/finance/electrs/recipe.toml new file mode 100644 index 000000000..f24a8659e --- /dev/null +++ b/recipes/wip/finance/electrs/recipe.toml @@ -0,0 +1,5 @@ +#TODO missing runtime dependencies, see https://github.com/romanz/electrs/blob/master/doc/install.md#build-dependencies +[source] +git = "https://github.com/romanz/electrs" +[build] +template = "cargo" diff --git a/recipes/wip/finance/floresta/recipe.toml b/recipes/wip/finance/floresta/recipe.toml new file mode 100644 index 000000000..7143cbcf0 --- /dev/null +++ b/recipes/wip/finance/floresta/recipe.toml @@ -0,0 +1,8 @@ +#TODO Not compiled or tested +[source] +git = "https://github.com/Davidson-Souza/Floresta" +[build] +template = "custom" +script = """ +cookbook_cargo_packages florestad +""" diff --git a/recipes/wip/finance/liana/recipe.toml b/recipes/wip/finance/liana/recipe.toml new file mode 100644 index 000000000..487850f6a --- /dev/null +++ b/recipes/wip/finance/liana/recipe.toml @@ -0,0 +1,5 @@ +#TODO Not compiled or tested +[source] +git = "https://github.com/wizardsardine/liana" +[build] +template = "cargo" diff --git a/recipes/wip/finance/nakatoshi/recipe.toml b/recipes/wip/finance/nakatoshi/recipe.toml new file mode 100644 index 000000000..f30e23b4f --- /dev/null +++ b/recipes/wip/finance/nakatoshi/recipe.toml @@ -0,0 +1,5 @@ +#TODO Not compiled or tested +[source] +git = "https://github.com/ndelvalle/nakatoshi" +[build] +template = "cargo" diff --git a/recipes/wip/finance/ord/recipe.toml b/recipes/wip/finance/ord/recipe.toml new file mode 100644 index 000000000..f02b88e05 --- /dev/null +++ b/recipes/wip/finance/ord/recipe.toml @@ -0,0 +1,8 @@ +#TODO Not compiled or tested +[source] +git = "https://github.com/ordinals/ord" +[build] +template = "cargo" +dependencies = [ + "openssl1", +] diff --git a/recipes/wip/finance/rusty-blockparser/recipe.toml b/recipes/wip/finance/rusty-blockparser/recipe.toml new file mode 100644 index 000000000..054984c25 --- /dev/null +++ b/recipes/wip/finance/rusty-blockparser/recipe.toml @@ -0,0 +1,5 @@ +#TODO Not compiled or tested +[source] +git = "https://github.com/gcarq/rusty-blockparser" +[build] +template = "cargo" diff --git a/recipes/wip/games/endless-sky/recipe.toml b/recipes/wip/games/endless-sky/recipe.toml new file mode 100644 index 000000000..24f29a4c5 --- /dev/null +++ b/recipes/wip/games/endless-sky/recipe.toml @@ -0,0 +1,16 @@ +#TODO missing script for CMake, see https://github.com/endless-sky/endless-sky/blob/master/docs/readme-cmake.md#building-the-game +[source] +git = "https://github.com/endless-sky/endless-sky" +rev = "95e72950e1554392666fa41bb18c978868aa6611" +[build] +template = "custom" +dependencies = [ + "sdl2", + "libpng", + "libjpeg", + "mesa", + "glew", + "openal", + "libmad", + "libuuid", +] diff --git a/recipes/wip/security/plutus-rustus/recipe.toml b/recipes/wip/security/plutus-rustus/recipe.toml new file mode 100644 index 000000000..5df54054a --- /dev/null +++ b/recipes/wip/security/plutus-rustus/recipe.toml @@ -0,0 +1,5 @@ +#TODO Not compiled or tested +[source] +git = "https://github.com/a137x/plutus-rustus" +[build] +template = "cargo" -- GitLab