From a215b97287c87dbfca4604bbfbe6b019c24e22b0 Mon Sep 17 00:00:00 2001 From: Ribbon <ribbon_45@proton.me> Date: Sun, 7 Jul 2024 09:10:13 +0000 Subject: [PATCH] Add recipes --- recipes/wip/analysis/cutter/recipe.toml | 26 +++++++++++++++++++ recipes/wip/analysis/netdata/recipe.toml | 25 ++++++++++++++++++ recipes/wip/analysis/rizin/recipe.toml | 5 ++++ recipes/wip/dev/other/silicon/recipe.toml | 5 ++++ recipes/wip/fuse/rencfs/recipe.toml | 8 ++++++ .../games/open-world/all-is-cubes/recipe.toml | 8 ++++++ recipes/wip/games/strategy/tage/recipe.toml | 5 ++++ recipes/wip/libs/archives/libzip/recipe.toml | 23 ++++++++++++++++ recipes/wip/net/sharing/microbin/recipe.toml | 5 ++++ recipes/wip/security/breakmancer/recipe.toml | 5 ++++ 10 files changed, 115 insertions(+) create mode 100644 recipes/wip/analysis/cutter/recipe.toml create mode 100644 recipes/wip/analysis/netdata/recipe.toml create mode 100644 recipes/wip/analysis/rizin/recipe.toml create mode 100644 recipes/wip/dev/other/silicon/recipe.toml create mode 100644 recipes/wip/fuse/rencfs/recipe.toml create mode 100644 recipes/wip/games/open-world/all-is-cubes/recipe.toml create mode 100644 recipes/wip/games/strategy/tage/recipe.toml create mode 100644 recipes/wip/libs/archives/libzip/recipe.toml create mode 100644 recipes/wip/net/sharing/microbin/recipe.toml create mode 100644 recipes/wip/security/breakmancer/recipe.toml diff --git a/recipes/wip/analysis/cutter/recipe.toml b/recipes/wip/analysis/cutter/recipe.toml new file mode 100644 index 000000000..b023d0a58 --- /dev/null +++ b/recipes/wip/analysis/cutter/recipe.toml @@ -0,0 +1,26 @@ +#TODO maybe incomplete script, see https://cutter.re/docs/building.html +[source] +tar = "https://github.com/rizinorg/cutter/releases/download/v2.3.4/Cutter-v2.3.4-src.tar.gz" +[build] +template = "custom" +dependencies = [ + "libzip", + "zlib", + "qt5-base", + "qt5-svg", +] +script = """ +COOKBOOK_CONFIGURE="cmake" +COOKBOOK_CONFIGURE_FLAGS=( + -DCMAKE_BUILD_TYPE=Release + -DCMAKE_CROSSCOMPILING=True + -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_INSTALL_PREFIX="/" + -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" + -DCMAKE_SYSTEM_NAME=Generic + -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)" + -DCMAKE_VERBOSE_MAKEFILE=On +"${COOKBOOK_SOURCE}" +) +cookbook_configure +""" diff --git a/recipes/wip/analysis/netdata/recipe.toml b/recipes/wip/analysis/netdata/recipe.toml new file mode 100644 index 000000000..d5a2aca34 --- /dev/null +++ b/recipes/wip/analysis/netdata/recipe.toml @@ -0,0 +1,25 @@ +#TODO maybe incomplete script, see https://learn.netdata.cloud/docs/developer-and-contributor-corner/build-the-netdata-agent-yourself/compile-from-source-code#building-netdata +[source] +tar = "https://github.com/netdata/netdata/releases/download/v1.46.1/netdata-v1.46.1.tar.gz" +[build] +template = "custom" +dependencies = [ + "zlib", + "libuv", + "libuuid", +] +script = """ +COOKBOOK_CONFIGURE="cmake" +COOKBOOK_CONFIGURE_FLAGS=( + -DCMAKE_BUILD_TYPE=Release + -DCMAKE_CROSSCOMPILING=True + -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_INSTALL_PREFIX="/" + -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" + -DCMAKE_SYSTEM_NAME=Generic + -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)" + -DCMAKE_VERBOSE_MAKEFILE=On +"${COOKBOOK_SOURCE}" +) +cookbook_configure +""" diff --git a/recipes/wip/analysis/rizin/recipe.toml b/recipes/wip/analysis/rizin/recipe.toml new file mode 100644 index 000000000..3b2a8e353 --- /dev/null +++ b/recipes/wip/analysis/rizin/recipe.toml @@ -0,0 +1,5 @@ +#TODO missing script for meson, see https://github.com/rizinorg/rizin/blob/dev/BUILDING.md +[source] +tar = "https://github.com/rizinorg/rizin/releases/download/v0.7.3/rizin-src-v0.7.3.tar.xz" +[build] +template = "custom" diff --git a/recipes/wip/dev/other/silicon/recipe.toml b/recipes/wip/dev/other/silicon/recipe.toml new file mode 100644 index 000000000..64a2461bd --- /dev/null +++ b/recipes/wip/dev/other/silicon/recipe.toml @@ -0,0 +1,5 @@ +#TODO not compiled or tested +[source] +git = "https://github.com/Aloxaf/silicon" +[build] +template = "cargo" diff --git a/recipes/wip/fuse/rencfs/recipe.toml b/recipes/wip/fuse/rencfs/recipe.toml new file mode 100644 index 000000000..f74c67f3c --- /dev/null +++ b/recipes/wip/fuse/rencfs/recipe.toml @@ -0,0 +1,8 @@ +#TODO not compiled or tested +[source] +git = "https://github.com/radumarias/rencfs" +[build] +template = "cargo" +dependencies = [ + "libfuse3", +] diff --git a/recipes/wip/games/open-world/all-is-cubes/recipe.toml b/recipes/wip/games/open-world/all-is-cubes/recipe.toml new file mode 100644 index 000000000..29a372329 --- /dev/null +++ b/recipes/wip/games/open-world/all-is-cubes/recipe.toml @@ -0,0 +1,8 @@ +#TODO not compiled or tested +[source] +git = "https://github.com/kpreid/all-is-cubes" +[build] +template = "custom" +script = """ +cookbook_cargo_packages all-is-cubes-desktop +""" diff --git a/recipes/wip/games/strategy/tage/recipe.toml b/recipes/wip/games/strategy/tage/recipe.toml new file mode 100644 index 000000000..ed86a5584 --- /dev/null +++ b/recipes/wip/games/strategy/tage/recipe.toml @@ -0,0 +1,5 @@ +#TODO not compiled or tested +[source] +git = "https://github.com/jacopograndi/tage" +[build] +template = "cargo" diff --git a/recipes/wip/libs/archives/libzip/recipe.toml b/recipes/wip/libs/archives/libzip/recipe.toml new file mode 100644 index 000000000..afe9a840e --- /dev/null +++ b/recipes/wip/libs/archives/libzip/recipe.toml @@ -0,0 +1,23 @@ +#TODO maybe incomplete script, see https://github.com/nih-at/libzip/blob/main/INSTALL.md +[source] +tar = "https://libzip.org/download/libzip-1.10.1.tar.gz" +[build] +template = "custom" +dependencies = [ + "zlib", +] +script = """ +COOKBOOK_CONFIGURE="cmake" +COOKBOOK_CONFIGURE_FLAGS=( + -DCMAKE_BUILD_TYPE=Release + -DCMAKE_CROSSCOMPILING=True + -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_INSTALL_PREFIX="/" + -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" + -DCMAKE_SYSTEM_NAME=Generic + -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)" + -DCMAKE_VERBOSE_MAKEFILE=On +"${COOKBOOK_SOURCE}" +) +cookbook_configure +""" diff --git a/recipes/wip/net/sharing/microbin/recipe.toml b/recipes/wip/net/sharing/microbin/recipe.toml new file mode 100644 index 000000000..94ea7b122 --- /dev/null +++ b/recipes/wip/net/sharing/microbin/recipe.toml @@ -0,0 +1,5 @@ +#TODO not compiled or tested +[source] +git = "https://github.com/szabodanika/microbin" +[build] +template = "cargo" diff --git a/recipes/wip/security/breakmancer/recipe.toml b/recipes/wip/security/breakmancer/recipe.toml new file mode 100644 index 000000000..fe2f12b5b --- /dev/null +++ b/recipes/wip/security/breakmancer/recipe.toml @@ -0,0 +1,5 @@ +#TODO not compiled or tested +[source] +git = "https://codeberg.org/timmc/breakmancer" +[build] +template = "cargo" -- GitLab