diff --git a/recipes/nghttp2/recipe.toml b/recipes/nghttp2/recipe.toml index 85d2886184d1164943e93a30c9f6f133537f5a2b..f44d6bb769d8f764926fef8ad90679df25a953c8 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 0000000000000000000000000000000000000000..5b59968af6da3bb15104ae26a76a66ef7fab5535 --- /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} +"""