Add openssl recipe and fix nghttp2 recipe

This commit is contained in:
Jeremy Soller 2020-05-21 20:48:29 -06:00
parent f8edf05e54
commit e754bc2184
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1
2 changed files with 19 additions and 1 deletions

View File

@ -4,7 +4,7 @@ tar = "https://github.com/nghttp2/nghttp2/releases/download/v1.37.0/nghttp2-1.37
[build]
template = "custom"
script = """
COOKBOOK_CONFIGURE_ARGS+=(
COOKBOOK_CONFIGURE_FLAGS+=(
--enable-lib-only
)
cookbook_configure

View File

@ -0,0 +1,18 @@
[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="/"
)
cookbook_configure
rm -rfv "${COOKBOOK_STAGE}/"{share,ssl}
"""