mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-23 13:24:17 +08:00
Add recipes
This commit is contained in:
parent
b3532dfaa7
commit
2045eb1222
11
recipes/wip/finance/bitcoin/electrum/recipe.toml
Normal file
11
recipes/wip/finance/bitcoin/electrum/recipe.toml
Normal file
@ -0,0 +1,11 @@
|
||||
# runtime dependencies - https://electrum.org/#download
|
||||
[source]
|
||||
tar = "https://download.electrum.org/4.5.5/Electrum-4.5.5.tar.gz"
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
mkdir -pv "${COOKBOOK_STAGE}"/usr/share/electrum
|
||||
mkdir -pv "${COOKBOOK_STAGE}"/usr/bin
|
||||
cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}"/usr/share/electrum
|
||||
echo "python3 /usr/share/electrum/run_electrum" > "${COOKBOOK_STAGE}"/usr/bin/electrum
|
||||
"""
|
||||
11
recipes/wip/games/rts/mindustry/recipe.toml
Normal file
11
recipes/wip/games/rts/mindustry/recipe.toml
Normal file
@ -0,0 +1,11 @@
|
||||
#TODO make openjdk work
|
||||
[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 "java -jar /usr/share/mindustry/Mindustry.jar" > "${COOKBOOK_STAGE}"/usr/bin/mindustry
|
||||
"""
|
||||
12
recipes/wip/net/bittorrent/webtorrent-cli/recipe.toml
Normal file
12
recipes/wip/net/bittorrent/webtorrent-cli/recipe.toml
Normal file
@ -0,0 +1,12 @@
|
||||
#TODO not compiled or tested
|
||||
[source]
|
||||
git = "https://github.com/webtorrent/webtorrent-cli"
|
||||
rev = "298ae70a7baeb1bfc836abe2821baf78b50c3af1"
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
mkdir -pv "${COOKBOOK_STAGE}"/usr/share/webtorrent-cli
|
||||
mkdir -pv "${COOKBOOK_STAGE}"/usr/bin
|
||||
cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}"/usr/share/webtorrent-cli
|
||||
echo "cd /usr/share/webtorrent-cli \n npm run" > "${COOKBOOK_STAGE}"/usr/bin/webtorrent-cli
|
||||
"""
|
||||
13
recipes/wip/net/download/yt-dlp/recipe.toml
Normal file
13
recipes/wip/net/download/yt-dlp/recipe.toml
Normal file
@ -0,0 +1,13 @@
|
||||
#TODO not compiled or tested
|
||||
# dependencies - https://github.com/yt-dlp/yt-dlp#dependencies
|
||||
[source]
|
||||
git = "https://github.com/yt-dlp/yt-dlp"
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
mkdir -pv "${COOKBOOK_STAGE}"/usr/share/yt-dlp
|
||||
mkdir -pv "${COOKBOOK_STAGE}"/usr/bin
|
||||
cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}"/usr/share/yt-dlp
|
||||
echo "/usr/share/yt-dlp/yt-dlp.sh" > "${COOKBOOK_STAGE}"/usr/bin/yt-dlp
|
||||
chmod a+x "${COOKBOOK_STAGE}"/usr/share/yt-dlp/yt-dlp.sh
|
||||
"""
|
||||
5
recipes/wip/sys-info/procps-ng/recipe.toml
Normal file
5
recipes/wip/sys-info/procps-ng/recipe.toml
Normal file
@ -0,0 +1,5 @@
|
||||
#TODO not compiled or tested
|
||||
[source]
|
||||
tar = "https://sourceforge.net/projects/procps-ng/files/Production/procps-ng-4.0.4.tar.xz/download"
|
||||
[build]
|
||||
template = "configure"
|
||||
Loading…
Reference in New Issue
Block a user