diff --git a/recipes/gawk/recipe.sh b/recipes/gawk/recipe.sh new file mode 100644 index 0000000000000000000000000000000000000000..93a242f8cf5500cb43821698a78769cfe29e6bae --- /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 +}