redox/recipes/libs/openssl1/recipe.toml
2023-12-11 09:45:22 -07:00

20 lines
381 B
TOML

[source]
git = "https://gitlab.redox-os.org/redox-os/openssl.git"
branch = "redox-v1"
[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}
"""