Add recipes

This commit is contained in:
Ribbon 2026-05-16 03:50:06 -03:00
parent 114833df68
commit 900c5deef1
17 changed files with 174 additions and 0 deletions

View File

@ -0,0 +1,8 @@
#TODO compile and test
# self-hosted documentation: https://bencher.dev/docs/explanation/bencher-self-hosted/
[source]
git = "https://github.com/bencherdev/bencher"
shallow_clone = true
[build]
template = "cargo"
cargopackages = ["bencher_cli"]

View File

@ -0,0 +1,17 @@
#TODO add script for proper packaging
# use the "./run" command to run
# build instructions: https://github.com/ankitects/anki/blob/main/docs/development.md#building-from-source
[source]
git = "https://github.com/ankitects/anki"
rev = "25.09.4"
shallow_clone = true
[build]
template = "custom"
script = """
mkdir -pv "${COOKBOOK_STAGE}/home/user/anki"
cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}/home/user/anki"
"""
[package]
dependencies = [
"python312"
]

View File

@ -0,0 +1,6 @@
#TODO compile and test
# build instructions: https://github.com/net-snmp/net-snmp/blob/master/INSTALL
[source]
tar = "https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.5.2/net-snmp-5.9.5.2.tar.gz/download"
[build]
template = "configure"

View File

@ -0,0 +1,7 @@
#TODO missing script for gnu make
[source]
git = "https://salsa.debian.org/debian/netcat-openbsd"
rev = "upstream/1.234"
shallow_clone = true
[build]
template = "custom"

View File

@ -0,0 +1,12 @@
#TODO compile and test
[source]
tar = "https://github.com/simsong/tcpflow/releases/download/tcpflow-1.6.1/tcpflow-1.6.1.tar.gz"
[build]
template = "configure"
dependencies = [
"libpcap",
"boost",
"openssl3",
"zlib",
"cairo",
]

View File

@ -0,0 +1,6 @@
#TODO missing script for the cmake wrapper script: https://github.com/snort3/snort3#build-snort
#TODO determine minimum dependencies from cmake log
[source]
tar = "https://api.github.com/repos/snort3/snort3/tarball/3.12.2.0"
[build]
template = "custom"

View File

@ -0,0 +1,17 @@
#TODO test
[source]
git = "https://github.com/sqlmapproject/sqlmap"
rev = "1.10.5"
shallow_clone = true
[build]
template = "custom"
script = """
mkdir -pv "${COOKBOOK_STAGE}"/usr/bin/sqlmap-dir
cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}"/usr/bin/sqlmap-dir
echo "python3 /usr/bin/sqlmap-dir/sqlmap.py" > "${COOKBOOK_STAGE}"/usr/bin/sqlmap
chmod a+x "${COOKBOOK_STAGE}"/usr/bin/sqlmap
"""
[package]
dependencies = [
"python312",
]

View File

@ -0,0 +1,10 @@
#TODO missing script for gnu make
#TODO determine minimum dependencies from cmake log
# agent build instructions: https://documentation.wazuh.com/current/deployment-options/wazuh-from-sources/wazuh-agent/index.html
# manager build instructions: https://documentation.wazuh.com/current/deployment-options/wazuh-from-sources/wazuh-server/index.html
[source]
git = "https://github.com/wazuh/wazuh"
rev = "v4.14.5"
shallow_clone = true
[build]
template = "custom"

View File

@ -0,0 +1,6 @@
#TODO missing script for waf: https://github.com/brummer10/guitarix#building-guitarix-from-source-code
#TODO discover minimum dependencies from waf log
[source]
tar = "https://github.com/brummer10/guitarix/releases/download/V0.47.0/guitarix2-0.47.0.tar.xz"
[build]
template = "custom"

View File

@ -0,0 +1,14 @@
#TODO finish cross-compilation script
# build instructions: https://github.com/helio-fm/helio-sequencer/blob/develop/Docs/readme.md#building-from-source
[source]
git = "https://github.com/helio-fm/helio-sequencer"
rev = "3.17"
shallow_clone = true
[build]
template = "custom"
script = """
DYNAMIC_INIT
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
cd Projects/LinuxMakefile
make CONFIG=Release64
"""

View File

@ -0,0 +1,19 @@
#TODO compile and test
#TODO determine minimum dependencies from configure log
# build instructions: https://lilypond.org/doc/v2.26/Documentation/contributor/compiling
[source]
tar = "https://lilypond.org/download/sources/v2.26/lilypond-2.26.0.tar.gz"
[build]
template = "configure"
#dependencies = [
# "cairo",
# "pango",
# "fontconfig",
# "freetype2",
# "glib",
# "libpng",
#]
[package]
dependencies = [
"python312",
]

View File

@ -0,0 +1,22 @@
#TODO compile and test
#TODO discover minimum dependencies from cmake log
# build instructions: https://github.com/musescore/MuseScore/tree/4.7#release-build
[source]
git = "https://github.com/musescore/MuseScore"
rev = "v4.7.0"
shallow_clone = true
[build]
template = "cmake"
cmakeflags = [
"-DMUSE_APP_BUILD_MODE=release",
"-DMUE_BUILD_PROJECT_TESTS=OFF",
"-DMUE_BUILD_BRAILLE_TESTS=OFF",
"-DMUE_BUILD_CONVERTER_TESTS=OFF",
"-DMUE_BUILD_ENGRAVING_TESTS=OFF",
"-DMUE_BUILD_IMPORTEXPORT_TESTS=OFF",
"-DMUE_BUILD_NOTATION_TESTS=OFF",
"-DMUE_BUILD_NOTATIONSCENE_TESTS=OFF",
"-DMUE_BUILD_PLAYBACK_TESTS=OFF",
"-DMUE_BUILD_MACOS_INTEGRATION=OFF",
"-DMUE_RUN_WINDEPLOYQT=OFF",
]

View File

@ -0,0 +1,5 @@
#TODO compile and test
[source]
tar = "https://github.com/dosfstools/dosfstools/releases/download/v4.2/dosfstools-4.2.tar.gz"
[build]
template = "configure"

View File

@ -0,0 +1,5 @@
#TODO compile and test
[source]
tar = "https://github.com/bstansell/conserver/releases/download/v8.3.0/conserver-8.3.0.tar.gz"
[build]
template = "configure"

View File

@ -0,0 +1,5 @@
#TODO missing script for gnu make
[source]
tar = "https://danlj.org/mkj/ttywatch/ttywatch-0.14.tar.bz2"
[build]
template = "custom"

View File

@ -0,0 +1,10 @@
#TODO compile and test
[source]
tar = "https://github.com/libcheck/check/releases/download/0.15.2/check-0.15.2.tar.gz"
[build]
template = "cmake"
cmakeflags = [
"-DCHECK_ENABLE_TESTS=OFF",
"-DENABLE_MEMORY_LEAKING_TESTS=OFF",
"-DCHECK_ENABLE_TIMEOUT_TESTS=OFF",
]

View File

@ -0,0 +1,5 @@
#TODO compile and test
[source]
tar = "https://invisible-island.net/archives/diffstat/diffstat-1.69.tgz"
[build]
template = "configure"