diff --git a/recipes/dev/gawk/recipe.sh b/recipes/dev/gawk/recipe.sh
deleted file mode 100644
index 6e616566af27cd5afa3589e41f306bcd83242149..0000000000000000000000000000000000000000
--- a/recipes/dev/gawk/recipe.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-GIT=https://gitlab.redox-os.org/redox-os/gawk.git
-GIT_UPSTREAM=https://git.savannah.gnu.org/git/gawk.git
-BRANCH=redox
-
-function recipe_build {
-    ./configure --build=${BUILD} --host=${HOST} --prefix=/ ac_cv_func_gethostbyname=no ac_cv_func_connect=no
-    "$REDOX_MAKE" -j"$($NPROC)"
-    skip=1
-}
-
-function recipe_clean {
-    "$REDOX_MAKE" clean
-    skip=1
-}
-
-function recipe_stage {
-    dest="$(realpath $1)"
-    "$REDOX_MAKE" DESTDIR="$dest" install
-    skip=1
-}
diff --git a/recipes/wip/gawk/recipe.toml b/recipes/wip/gawk/recipe.toml
new file mode 100644
index 0000000000000000000000000000000000000000..098055aea439dbf2974ccf026b7ad326ee4d16b3
--- /dev/null
+++ b/recipes/wip/gawk/recipe.toml
@@ -0,0 +1,15 @@
+#TODO: langinfo.h
+[source]
+git = "https://gitlab.redox-os.org/redox-os/gawk.git"
+upstream = "https://git.savannah.gnu.org/git/gawk.git"
+branch = "redox"
+
+[build]
+template = "custom"
+script = """
+COOKBOOK_CONFIGURE_FLAGS+=(
+    ac_cv_func_gethostbyname=no
+    ac_cv_func_connect=no
+)
+cookbook_configure
+"""