From 90abdadb7b01086fe4ce196e249d6c772afa6b89 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Tue, 11 Jul 2017 21:34:00 -0700 Subject: [PATCH] Recipe for gawk --- recipes/gawk/recipe.sh | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 recipes/gawk/recipe.sh diff --git a/recipes/gawk/recipe.sh b/recipes/gawk/recipe.sh new file mode 100644 index 000000000..93a242f8c --- /dev/null +++ b/recipes/gawk/recipe.sh @@ -0,0 +1,31 @@ +GIT=https://github.com/redox-os/gawk +BRANCH=redox + +HOST=x86_64-elf-redox + +function recipe_update { + echo "skipping update" + skip=1 +} + +function recipe_build { + ./configure --host=${HOST} --prefix=/ ac_cv_func_gethostbyname=no ac_cv_func_connect=no + make + skip=1 +} + +function recipe_test { + echo "skipping test" + skip=1 +} + +function recipe_clean { + make clean + skip=1 +} + +function recipe_stage { + dest="$(realpath $1)" + make DESTDIR="$dest" install + skip=1 +}