mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-23 13:24:17 +08:00
40 lines
853 B
TOML
40 lines
853 B
TOML
[source]
|
|
git = "https://gitlab.redox-os.org/redox-os/curl.git"
|
|
branch = "redox"
|
|
|
|
[build]
|
|
template = "custom"
|
|
dependencies = [
|
|
"nghttp2",
|
|
"openssl1",
|
|
"zlib"
|
|
]
|
|
script = """
|
|
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
|
wget -O config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
|
|
autoreconf -i
|
|
COOKBOOK_CONFIGURE="./configure"
|
|
COOKBOOK_CONFIGURE_FLAGS=(
|
|
--build="$(cc -dumpmachine)"
|
|
--host="${TARGET}"
|
|
--prefix=""
|
|
--disable-ftp
|
|
--disable-ipv6
|
|
--disable-ntlm-wb
|
|
--disable-shared
|
|
--disable-tftp
|
|
--disable-threaded-resolver
|
|
--enable-static
|
|
--with-ca-path=/ssl/certs
|
|
--with-nghttp2="${COOKBOOK_SYSROOT}"
|
|
--with-ssl="${COOKBOOK_SYSROOT}"
|
|
--with-zlib="${COOKBOOK_SYSROOT}"
|
|
)
|
|
cookbook_configure
|
|
"""
|
|
|
|
[package]
|
|
dependencies = [
|
|
"ca-certificates"
|
|
]
|