mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-03 10:08:45 +08:00
Set CPPFLAGS, add more recipes
This commit is contained in:
parent
94d85accd3
commit
28180c39ff
13
recipes/libpng/recipe.toml
Normal file
13
recipes/libpng/recipe.toml
Normal file
@ -0,0 +1,13 @@
|
||||
[source]
|
||||
tar = "https://github.com/glennrp/libpng/archive/v1.6.36.tar.gz"
|
||||
script = """
|
||||
chmod +w config.sub
|
||||
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
"""
|
||||
|
||||
|
||||
[build]
|
||||
template = "configure"
|
||||
dependencies = [
|
||||
"zlib"
|
||||
]
|
||||
9
recipes/libvorbis/recipe.toml
Normal file
9
recipes/libvorbis/recipe.toml
Normal file
@ -0,0 +1,9 @@
|
||||
[source]
|
||||
tar = "http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.6.tar.xz"
|
||||
sha256 = "af00bb5a784e7c9e69f56823de4637c350643deedaf333d0fa86ecdba6fcb415"
|
||||
|
||||
[build]
|
||||
template = "configure"
|
||||
dependencies = [
|
||||
"libogg"
|
||||
]
|
||||
5
recipes/logd/recipe.toml
Normal file
5
recipes/logd/recipe.toml
Normal file
@ -0,0 +1,5 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/logd.git"
|
||||
|
||||
[build]
|
||||
template = "cargo"
|
||||
5
recipes/nasm/recipe.toml
Normal file
5
recipes/nasm/recipe.toml
Normal file
@ -0,0 +1,5 @@
|
||||
[source]
|
||||
tar = "http://www.nasm.us/pub/nasm/releasebuilds/2.14.02/nasm-2.14.02.tar.gz"
|
||||
|
||||
[build]
|
||||
template = "configure"
|
||||
5
recipes/netstack/recipe.toml
Normal file
5
recipes/netstack/recipe.toml
Normal file
@ -0,0 +1,5 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/netstack.git"
|
||||
|
||||
[build]
|
||||
template = "cargo"
|
||||
6
recipes/netutils/recipe.toml
Normal file
6
recipes/netutils/recipe.toml
Normal file
@ -0,0 +1,6 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/netutils.git"
|
||||
branch = "redox-unix"
|
||||
|
||||
[build]
|
||||
template = "cargo"
|
||||
5
recipes/nulld/recipe.toml
Normal file
5
recipes/nulld/recipe.toml
Normal file
@ -0,0 +1,5 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/nulld.git"
|
||||
|
||||
[build]
|
||||
template = "cargo"
|
||||
5
recipes/pkgar/recipe.toml
Normal file
5
recipes/pkgar/recipe.toml
Normal file
@ -0,0 +1,5 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/pkgar.git"
|
||||
|
||||
[build]
|
||||
template = "cargo"
|
||||
5
recipes/pkgutils/recipe.toml
Normal file
5
recipes/pkgutils/recipe.toml
Normal file
@ -0,0 +1,5 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/pkgutils.git"
|
||||
|
||||
[build]
|
||||
template = "cargo"
|
||||
5
recipes/ptyd/recipe.toml
Normal file
5
recipes/ptyd/recipe.toml
Normal file
@ -0,0 +1,5 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/ptyd.git"
|
||||
|
||||
[build]
|
||||
template = "cargo"
|
||||
5
recipes/ramfs/recipe.toml
Normal file
5
recipes/ramfs/recipe.toml
Normal file
@ -0,0 +1,5 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/ramfs.git"
|
||||
|
||||
[build]
|
||||
template = "cargo"
|
||||
12
recipes/redoxerd/recipe.toml
Normal file
12
recipes/redoxerd/recipe.toml
Normal file
@ -0,0 +1,12 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/redoxer.git"
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
COOKBOOK_CARGO_FLAGS=(
|
||||
--path "${COOKBOOK_SOURCE}/daemon"
|
||||
--root "${COOKBOOK_STAGE}"
|
||||
)
|
||||
cookbook_cargo
|
||||
"""
|
||||
5
recipes/redoxfs/recipe.toml
Normal file
5
recipes/redoxfs/recipe.toml
Normal file
@ -0,0 +1,5 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/redoxfs.git"
|
||||
|
||||
[build]
|
||||
template = "cargo"
|
||||
5
recipes/sed/recipe.toml
Normal file
5
recipes/sed/recipe.toml
Normal file
@ -0,0 +1,5 @@
|
||||
[source]
|
||||
tar = "http://ftp.gnu.org/gnu/sed/sed-4.4.tar.xz"
|
||||
|
||||
[build]
|
||||
template = "configure"
|
||||
5
recipes/shellstorm/recipe.toml
Normal file
5
recipes/shellstorm/recipe.toml
Normal file
@ -0,0 +1,5 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/shellstorm.git"
|
||||
|
||||
[build]
|
||||
template = "cargo"
|
||||
5
recipes/smith/recipe.toml
Normal file
5
recipes/smith/recipe.toml
Normal file
@ -0,0 +1,5 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/Smith.git"
|
||||
|
||||
[build]
|
||||
template = "cargo"
|
||||
5
recipes/zerod/recipe.toml
Normal file
5
recipes/zerod/recipe.toml
Normal file
@ -0,0 +1,5 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/zerod.git"
|
||||
|
||||
[build]
|
||||
template = "cargo"
|
||||
@ -345,6 +345,7 @@ export CARGO_TARGET_DIR="${COOKBOOK_BUILD}/target"
|
||||
# This adds the sysroot includes for most C compilation
|
||||
#TODO: check paths for spaces!
|
||||
export CFLAGS="-I${COOKBOOK_SYSROOT}/include"
|
||||
export CPPFLAGS="-I${COOKBOOK_SYSROOT}/include"
|
||||
|
||||
# This adds the sysroot libraries and compiles binaries statically for most C compilation
|
||||
#TODO: check paths for spaces!
|
||||
|
||||
Loading…
Reference in New Issue
Block a user