From deb6973b91435ca48bfa2b18dc519518042e5ba8 Mon Sep 17 00:00:00 2001
From: Ribbon <ribbon_45@proton.me>
Date: Mon, 11 Mar 2024 03:29:36 +0000
Subject: [PATCH] add recipes

---
 recipes/wip/services/grub/recipe.toml | 5 +++++
 recipes/wip/tools/busybox/recipe.toml | 6 ++++++
 recipes/wip/tools/toybox/recipe.toml  | 5 +++++
 recipes/wip/tools/ventoy/recipe.toml  | 7 +++++++
 4 files changed, 23 insertions(+)
 create mode 100644 recipes/wip/services/grub/recipe.toml
 create mode 100644 recipes/wip/tools/busybox/recipe.toml
 create mode 100644 recipes/wip/tools/toybox/recipe.toml
 create mode 100644 recipes/wip/tools/ventoy/recipe.toml

diff --git a/recipes/wip/services/grub/recipe.toml b/recipes/wip/services/grub/recipe.toml
new file mode 100644
index 00000000..f674fb2b
--- /dev/null
+++ b/recipes/wip/services/grub/recipe.toml
@@ -0,0 +1,5 @@
+#TODO Not compiled or tested
+[source]
+tar = "https://ftp.gnu.org/gnu/grub/grub-2.12.tar.xz"
+[build]
+template = "configure"
diff --git a/recipes/wip/tools/busybox/recipe.toml b/recipes/wip/tools/busybox/recipe.toml
new file mode 100644
index 00000000..58bc56af
--- /dev/null
+++ b/recipes/wip/tools/busybox/recipe.toml
@@ -0,0 +1,6 @@
+#TODO missing script for GNU Make, see https://www.busybox.net/FAQ.html#configure
+#TODO cross-compilation - https://www.busybox.net/FAQ.html#build
+[source]
+tar = "https://www.busybox.net/downloads/busybox-1.36.1.tar.bz2"
+[build]
+template = "custom"
diff --git a/recipes/wip/tools/toybox/recipe.toml b/recipes/wip/tools/toybox/recipe.toml
new file mode 100644
index 00000000..8d159db2
--- /dev/null
+++ b/recipes/wip/tools/toybox/recipe.toml
@@ -0,0 +1,5 @@
+#TODO missing script for GNU Make, see https://www.landley.net/toybox/code.html#building
+[source]
+tar = "https://www.landley.net/toybox/downloads/toybox-0.8.9.tar.gz"
+[build]
+template = "custom"
diff --git a/recipes/wip/tools/ventoy/recipe.toml b/recipes/wip/tools/ventoy/recipe.toml
new file mode 100644
index 00000000..8d1e6bae
--- /dev/null
+++ b/recipes/wip/tools/ventoy/recipe.toml
@@ -0,0 +1,7 @@
+#TODO missing script for cross-compilation, see https://github.com/ventoy/Ventoy/blob/master/DOC/BuildVentoyFromSource.txt
+#TODO missing dependencies, try to figure out what it needs at build-time and runtime
+[source]
+git = "https://github.com/ventoy/Ventoy"
+rev = "3f65f0ef03e4aebcd14f233ca808a4f894657802"
+[build]
+template = "custom"
-- 
GitLab