From e754bc2184f070763c0dde8ecded1832c249e7b9 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jeremy@system76.com> Date: Thu, 21 May 2020 20:48:29 -0600 Subject: [PATCH] Add openssl recipe and fix nghttp2 recipe --- recipes/nghttp2/recipe.toml | 2 +- recipes/openssl/recipe.toml | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 recipes/openssl/recipe.toml diff --git a/recipes/nghttp2/recipe.toml b/recipes/nghttp2/recipe.toml index 85d288618..f44d6bb76 100644 --- a/recipes/nghttp2/recipe.toml +++ b/recipes/nghttp2/recipe.toml @@ -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 diff --git a/recipes/openssl/recipe.toml b/recipes/openssl/recipe.toml new file mode 100644 index 000000000..5b59968af --- /dev/null +++ b/recipes/openssl/recipe.toml @@ -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} +""" -- GitLab