Add recipes

This commit is contained in:
Ribbon 2026-09-30 11:17:24 -03:00
parent bb24a6d468
commit 9793807647
10 changed files with 124 additions and 0 deletions

View File

@ -0,0 +1,14 @@
#TODO compile and test
[source]
git = "https://github.com/nkleemann/ascii-rain"
rev = "39396dea0a84b4580f0ee5f46de9de4468566ed0"
shallow_clone = true
[build]
template = "custom"
dependencies = ["ncursesw"]
script = """
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
DYNAMIC_INIT
"${COOKBOOK_CC}" rain.c -o "${COOKBOOK_STAGE}"/usr/bin/rain -lncurses
cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}/usr/bin"
"""

View File

@ -0,0 +1,14 @@
#TODO compile and test
[source]
git = "https://github.com/bartobri/no-more-secrets"
rev = "v1.0.1"
shallow_clone = true
[build]
template = "custom"
#dependencies = ["ncursesw"] # enable if needed
script = """
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
DYNAMIC_INIT
"${COOKBOOK_MAKE}" nms -j "${COOKBOOK_MAKE_JOBS}"
"${COOKBOOK_MAKE}" install DESTDIR="${COOKBOOK_STAGE}/usr"
"""

View File

@ -0,0 +1,7 @@
#TODO compile and test
[source]
git = "https://github.com/Oakamoore/terminal-rain"
rev = "c46946f5a1ab71dc8b7f826f9ab634d46cb81c71"
shallow_clone = true
[build]
template = "cmake"

View File

@ -0,0 +1,11 @@
#TODO compile and test
[source]
git = "https://github.com/cppcheck-opensource/cppcheck"
rev = "2.22.0"
shallow_clone = true
[build]
template = "cmake"
cmakeflags = [
"-DREGISTER_TESTS=OFF",
"-DREGISTER_GUI_TESTS=OFF",
]

View File

@ -0,0 +1,22 @@
#TODO compile and test
[source]
git = "https://github.com/janet-lang/janet"
rev = "v1.42.1"
shallow_clone = true
[build]
template = "custom"
mesonflags = [
]
script = """
DYNAMIC_INIT
COOKBOOK_MESON_FLAGS+=(
-Dassembler=false
-Dnet=false
-Dipv6=false
-Dkqueue=false
)
cookbook_meson
mkdir -pv "${COOKBOOK_STAGE}/usr/share/janet"
cp -rv "${COOKBOOK_SOURCE}"/examples/* "${COOKBOOK_STAGE}/usr/share/janet"
"""

View File

@ -0,0 +1,13 @@
#TODO compile and test
[source]
git = "https://github.com/rhaiscript/rhai"
shallow_clone = true
[build]
template = "custom"
script = """
DYNAMIC_INIT
cookbook_cargo
cookbook_cargo_examples hello
mkdir -pv "${COOKBOOK_STAGE}/usr/share/rhai"
cp -rv "${COOKBOOK_SOURCE}"/scripts/* "${COOKBOOK_STAGE}/usr/share/rhai"
"""

View File

@ -0,0 +1,5 @@
#TODO add a script for stack build system: https://pandoc.org/installing.html#compiling-from-source
[source]
tar = "https://hackage.haskell.org/package/pandoc-3.12/pandoc-3.12.tar.gz"
[build]
template = "custom"

View File

@ -0,0 +1,14 @@
#TODO compile and test
# build instructions: https://github.com/f3d-app/f3d/blob/master/doc/dev/05-BUILD.md
[source]
git = "https://github.com/f3d-app/f3d"
rev = "v3.5.0"
shallow_clone = true
[build]
template = "cmake"
cmakeflags = [
"-DF3D_MODULE_CLIP=OFF",
]
dependencies = [
"vtk",
]

View File

@ -0,0 +1,10 @@
#TODO compile and test
[source]
tar = "https://geoff.greer.fm/ag/releases/the_silver_searcher-2.2.0.tar.gz"
[build]
template = "configure"
dependencies = [
"pcre",
"zlib",
"xz",
]

View File

@ -0,0 +1,14 @@
#TODO compile and test
[source]
git = "https://github.com/fastfetch-cli/fastfetch"
rev = "2.69.0"
shallow_clone = true
[build]
template = "cmake"
cmakeflags = [
"-DENABLE_ZLIB=OFF",
"-DSET_TWEAK=OFF",
"-DENABLE_LUA=OFF",
"-DENABLE_LIBZFS=OFF",
"-DENABLE_IMAGE_LOGO=OFF",
]