mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 23:44:17 +08:00
Add, fix and improve many recipes
This commit is contained in:
parent
bb0acfb2b0
commit
544430a64c
@ -1,5 +1,6 @@
|
||||
#TODO iana-time-zone crate error
|
||||
[source]
|
||||
git = "https://github.com/artichoke/artichoke"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "cargo"
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
#TODO not compiled or tested
|
||||
[source]
|
||||
git = "https://github.com/Hans-Halverson/brimstone"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "cargo"
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
#TODO write a gnu make target for redox, see: https://github.com/dyne/cjit#build-from-source
|
||||
#TODO write a gnu make target for redox: https://github.com/dyne/cjit#build-from-source
|
||||
[source]
|
||||
git = "https://github.com/dyne/cjit"
|
||||
rev = "9a4321e64ea1af10e9e3c63de45af80b36846cda"
|
||||
rev = "v0.18.2"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
#TODO missing script for "make", see https://github.com/elixir-lang/elixir#compiling-from-source
|
||||
#TODO missing script for gnu make: https://github.com/elixir-lang/elixir#compiling-from-source
|
||||
[source]
|
||||
git = "https://github.com/elixir-lang/elixir"
|
||||
rev = "927b10df80ee1c1c7396e68efe00d06bc3e80420"
|
||||
branch = "v1.19"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
#TODO missing script for building, lacking build instructions
|
||||
[source]
|
||||
git = "https://github.com/elm/compiler"
|
||||
rev = "c9aefb6230f5e0bda03205ab0499f6e4af924495"
|
||||
rev = "0.19.1"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
|
||||
@ -1,12 +1,14 @@
|
||||
#TODO probably wrong script, see https://www.erlang.org/doc/installation_guide/install
|
||||
#TODO discover current status
|
||||
# build instructions: https://www.erlang.org/doc/installation_guide/install
|
||||
[source]
|
||||
tar = "https://github.com/erlang/otp/releases/download/OTP-26.1.1/otp_src_26.1.1.tar.gz"
|
||||
tar = "https://github.com/erlang/otp/releases/download/OTP-28.3.1/otp_src_28.3.1.tar.gz"
|
||||
[build]
|
||||
template = "custom"
|
||||
dependencies = [
|
||||
"openssl1",
|
||||
"openssl3",
|
||||
]
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
export ERL_TOP="${COOKBOOK_SOURCE}"
|
||||
COOKBOOK_CONFIGURE_FLAGS+=(
|
||||
--without-termcap
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#TODO missing script for Hadrian, see https://gitlab.haskell.org/ghc/ghc/-/wikis/building/hadrian
|
||||
#TODO missing script for hadrian: https://gitlab.haskell.org/ghc/ghc/-/wikis/building/hadrian
|
||||
[source]
|
||||
tar = "https://downloads.haskell.org/~ghc/9.8.1/ghc-9.8.1-src.tar.xz"
|
||||
tar = "https://downloads.haskell.org/~ghc/9.14.1/ghc-9.14.1-src.tar.xz"
|
||||
[build]
|
||||
template = "custom"
|
||||
|
||||
13
recipes/wip/dev/lang/kotlin/recipe.toml
Normal file
13
recipes/wip/dev/lang/kotlin/recipe.toml
Normal file
@ -0,0 +1,13 @@
|
||||
#TODO not tested yet
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
mkdir -pv "${COOKBOOK_STAGE}/usr/bin/kotlin-dir"
|
||||
wget https://github.com/JetBrains/kotlin/releases/download/v2.3.0/kotlin-compiler-2.3.0.zip
|
||||
unzip kotlin-compiler-2.3.0.zip -d "${COOKBOOK_BUILD}"
|
||||
mv "${COOKBOOK_BUILD}/kotlin/*" "${COOKBOOK_STAGE}/usr/bin/kotlin-dir"
|
||||
echo "/usr/bin/kotlin-dir/bin/kotlinc" > "${COOKBOOK_STAGE}"/usr/bin/kotlinc
|
||||
chmod a+x "${COOKBOOK_STAGE}"/usr/bin/kotlinc
|
||||
"""
|
||||
[package]
|
||||
dependencies = ["openjdk21"]
|
||||
@ -1,8 +1,14 @@
|
||||
#TODO missing script for building, see https://github.com/tux4kids/tuxmath/blob/master/doc/INSTALL
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://github.com/tux4kids/tuxmath/blob/master/doc/INSTALL
|
||||
[source]
|
||||
git = "https://github.com/tux4kids/tuxmath"
|
||||
shallow_clone = true
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
autotools_recursive_regenerate
|
||||
"""
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "configure"
|
||||
dependencies = [
|
||||
"t4kcommon",
|
||||
"sdl1",
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
# build instructions: https://github.com/supertuxkart/stk-code/blob/master/INSTALL.md#compiling
|
||||
[source]
|
||||
tar = "https://github.com/supertuxkart/stk-code/releases/download/1.5/SuperTuxKart-1.5-src.tar.gz"
|
||||
patches = ["redox.patch"]
|
||||
[build]
|
||||
template = "cmake"
|
||||
cmakeflags = [
|
||||
@ -18,7 +19,7 @@ dependencies = [
|
||||
"freetype2",
|
||||
"harfbuzz",
|
||||
"curl",
|
||||
"openssl1",
|
||||
"openssl3",
|
||||
"libpng",
|
||||
"zlib",
|
||||
"libjpeg",
|
||||
|
||||
11
recipes/wip/games/rts/mindustry-beta/recipe.toml
Normal file
11
recipes/wip/games/rts/mindustry-beta/recipe.toml
Normal file
@ -0,0 +1,11 @@
|
||||
#TODO waiting openjdk x11 feature creation
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
|
||||
wget https://github.com/Anuken/Mindustry/releases/download/v154.3/Mindustry.jar "${COOKBOOK_STAGE}/usr/bin"
|
||||
echo "#!/usr/bin/env sh \n java -jar /usr/bin/Mindustry.jar" > "${COOKBOOK_STAGE}"/usr/bin/mindustry
|
||||
chmod a+x "${COOKBOOK_STAGE}"/usr/bin/mindustry
|
||||
"""
|
||||
[package]
|
||||
dependencies = ["openjdk17.x11"]
|
||||
@ -1,12 +1,11 @@
|
||||
#TODO make openjdk work
|
||||
#TODO waiting openjdk x11 feature creation
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
mkdir -pv "${COOKBOOK_SOURCE}"
|
||||
wget https://github.com/Anuken/Mindustry/releases/download/v146/Mindustry.jar
|
||||
mkdir -pv "${COOKBOOK_STAGE}"/usr/share/mindustry
|
||||
mkdir -pv "${COOKBOOK_STAGE}"/usr/bin
|
||||
cp -rv "${COOKBOOK_SOURCE}"/Mindustry.jar "${COOKBOOK_STAGE}"/usr/share/mindustry
|
||||
echo "#!/usr/bin/env sh \n java -jar /usr/share/mindustry/Mindustry.jar" > "${COOKBOOK_STAGE}"/usr/bin/mindustry
|
||||
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
|
||||
wget https://github.com/Anuken/Mindustry/releases/download/v146/Mindustry.jar "${COOKBOOK_STAGE}/usr/bin"
|
||||
echo "#!/usr/bin/env sh \n java -jar /usr/bin/Mindustry.jar" > "${COOKBOOK_STAGE}"/usr/bin/mindustry
|
||||
chmod a+x "${COOKBOOK_STAGE}"/usr/bin/mindustry
|
||||
"""
|
||||
[package]
|
||||
dependencies = ["openjdk17.x11"]
|
||||
|
||||
@ -6,10 +6,10 @@ shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
mkdir -pv "${COOKBOOK_STAGE}"/usr/bin/webtorrent-cli-dir
|
||||
cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}"/usr/bin/webtorrent-cli-dir
|
||||
echo "#!/usr/bin/env sh \n cd /usr/bin/webtorrent-cli-dir/webtorrent-cli \n npx webtorrent-cli" > "${COOKBOOK_STAGE}"/usr/bin/webtorrent-cli
|
||||
chmod a+x "${COOKBOOK_STAGE}"/usr/bin/webtorrent-cli
|
||||
mkdir -pv "${COOKBOOK_STAGE}"/usr/bin/webtorrent-dir
|
||||
cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}"/usr/bin/webtorrent-dir
|
||||
echo "#!/usr/bin/env sh \n cd /usr/bin/webtorrent-dir \n npx webtorrent-cli" > "${COOKBOOK_STAGE}"/usr/bin/webtorrent
|
||||
chmod a+x "${COOKBOOK_STAGE}"/usr/bin/webtorrent
|
||||
"""
|
||||
[package]
|
||||
dependencies = ["nodejs24"]
|
||||
|
||||
8
recipes/wip/search/fzf/recipe.toml
Normal file
8
recipes/wip/search/fzf/recipe.toml
Normal file
@ -0,0 +1,8 @@
|
||||
#TODO missing script for gnu make: https://github.com/junegunn/fzf/blob/master/BUILD.md
|
||||
[source]
|
||||
git = "https://github.com/junegunn/fzf"
|
||||
rev = "v0.67.0"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
dev-dependencies = ["host:go"]
|
||||
@ -1,6 +1,7 @@
|
||||
#TODO missing fzf dependency: https://github.com/junegunn/fzf
|
||||
#TODO fix fzf dependency
|
||||
[source]
|
||||
git = "https://github.com/justchokingaround/jerry"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
|
||||
Loading…
Reference in New Issue
Block a user