From 93402359fedd3dbc0e25bf0c9657572e4980f2e1 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jeremy@system76.com> Date: Fri, 22 May 2020 08:28:17 -0600 Subject: [PATCH] Add dash recipe --- recipes/dash/recipe.toml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 recipes/dash/recipe.toml diff --git a/recipes/dash/recipe.toml b/recipes/dash/recipe.toml new file mode 100644 index 000000000..c4bc57515 --- /dev/null +++ b/recipes/dash/recipe.toml @@ -0,0 +1,21 @@ +[source] +git = "https://gitlab.redox-os.org/redox-os/dash.git" +branch = "redox" + +[build] +template = "custom" +script = """ +rsync -av --delete "${COOKBOOK_SOURCE}/" ./ +./autogen.sh +./configure \ + --host="${TARGET}" \ + --prefix="" \ + --enable-static \ + cross_compiling=yes +# See https://stackoverflow.com/questions/4247068/sed-command-with-i-option-failing-on-mac-but-works-on-linux. +sed -i'' -e 's|#define HAVE_GETRLIMIT 1|/* #undef HAVE_GETRLIMIT */|g' config.h +# Skip configure +COOKBOOK_CONFIGURE="true" +COOKBOOK_CONFIGURE_FLAGS=() +cookbook_configure +""" -- GitLab