redox/recipes/libs/openssl1/recipe.toml
2025-09-20 16:06:02 +07:00

24 lines
578 B
TOML

[source]
git = "https://gitlab.redox-os.org/redox-os/openssl.git"
branch = "redox-v1"
[build]
template = "custom"
script = """
DYNAMIC_INIT
ARCH="${TARGET%%-*}"
COOKBOOK_CONFIGURE="${COOKBOOK_SOURCE}/Configure"
COOKBOOK_CONFIGURE_FLAGS=(
shared
threads
no-dgram
"redox-${ARCH}"
--prefix="/"
)
export CC="${CC_WRAPPER} ${GNU_TARGET}-gcc"
"${COOKBOOK_CONFIGURE}" "${COOKBOOK_CONFIGURE_FLAGS[@]}"
"${COOKBOOK_MAKE}" -j"${COOKBOOK_MAKE_JOBS}"
"${COOKBOOK_MAKE}" install_sw install_ssldirs DESTDIR="${COOKBOOK_STAGE}"
rm -rfv "${COOKBOOK_STAGE}/"{share,ssl}
"""