redox/recipes/openssl/recipe.toml
2022-08-23 13:17:45 -06: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}
"""