Set CPPFLAGS, add more recipes

This commit is contained in:
Jeremy Soller 2020-05-21 12:02:16 -06:00
parent 94d85accd3
commit 28180c39ff
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1
18 changed files with 106 additions and 0 deletions

View 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"
]

View 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
View 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
View 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"

View File

@ -0,0 +1,5 @@
[source]
git = "https://gitlab.redox-os.org/redox-os/netstack.git"
[build]
template = "cargo"

View File

@ -0,0 +1,6 @@
[source]
git = "https://gitlab.redox-os.org/redox-os/netutils.git"
branch = "redox-unix"
[build]
template = "cargo"

View File

@ -0,0 +1,5 @@
[source]
git = "https://gitlab.redox-os.org/redox-os/nulld.git"
[build]
template = "cargo"

View File

@ -0,0 +1,5 @@
[source]
git = "https://gitlab.redox-os.org/redox-os/pkgar.git"
[build]
template = "cargo"

View 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
View File

@ -0,0 +1,5 @@
[source]
git = "https://gitlab.redox-os.org/redox-os/ptyd.git"
[build]
template = "cargo"

View File

@ -0,0 +1,5 @@
[source]
git = "https://gitlab.redox-os.org/redox-os/ramfs.git"
[build]
template = "cargo"

View 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
"""

View 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
View File

@ -0,0 +1,5 @@
[source]
tar = "http://ftp.gnu.org/gnu/sed/sed-4.4.tar.xz"
[build]
template = "configure"

View File

@ -0,0 +1,5 @@
[source]
git = "https://gitlab.redox-os.org/redox-os/shellstorm.git"
[build]
template = "cargo"

View File

@ -0,0 +1,5 @@
[source]
git = "https://gitlab.redox-os.org/redox-os/Smith.git"
[build]
template = "cargo"

View File

@ -0,0 +1,5 @@
[source]
git = "https://gitlab.redox-os.org/redox-os/zerod.git"
[build]
template = "cargo"

View File

@ -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!