redox/recipes/libraries/openssl/recipe.toml
2023-11-05 12:58:51 +00:00

20 lines
378 B
TOML

[source]
git = "https://gitlab.redox-os.org/redox-os/openssl.git"
branch = "redox"
[build]
template = "custom"
script = """
ARCH="${TARGET%%-*}"
COOKBOOK_CONFIGURE="${COOKBOOK_SOURCE}/Configure"
COOKBOOK_CONFIGURE_FLAGS=(
no-shared
no-dgram
"redox-${ARCH}"
--prefix="/"
)
export CC="${TARGET}-gcc"
cookbook_configure
rm -rfv "${COOKBOOK_STAGE}/"{share,ssl}
"""