[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}
"""
