diff --git a/recipes/wip/libs/kde5/kf5-activities-stats/recipe.toml b/recipes/wip/libs/kde5/kf5-activities-stats/recipe.toml
index 81c7aa7cf079ef32863d8cf76ddfe07ccc75d0af..4d684d0debbeb597a1a80e4091a23bd24b9ba7fa 100644
--- a/recipes/wip/libs/kde5/kf5-activities-stats/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-activities-stats/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kactivities-stats-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-activities/recipe.toml b/recipes/wip/libs/kde5/kf5-activities/recipe.toml
index 515c7ac7b3b4d7da416fef78f379a844a87219a6..0f9b9e6d32a460d031d5d76c523d8afc3032f279 100644
--- a/recipes/wip/libs/kde5/kf5-activities/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-activities/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kactivities-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-apidox/recipe.toml b/recipes/wip/libs/kde5/kf5-apidox/recipe.toml
index b90418a7fa6bee8f796f4807c6653becd5b32709..2b4073c795010bfd0f5a14f17b6595d18b1e67fc 100644
--- a/recipes/wip/libs/kde5/kf5-apidox/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-apidox/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kapidox-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-archive/recipe.toml b/recipes/wip/libs/kde5/kf5-archive/recipe.toml
index 13e61b26e95ef29e707b9543383670347ee2551a..5578c6b4418fc040e63fac162f8cf631f9508fb9 100644
--- a/recipes/wip/libs/kde5/kf5-archive/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-archive/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, see https://invent.kde.org/frameworks/karchive/-/blob/master/INSTALL?ref_type=heads
+#TODO maybe incomplete script, see https://invent.kde.org/frameworks/karchive/-/blob/master/INSTALL?ref_type=heads
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/karchive-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-attica/recipe.toml b/recipes/wip/libs/kde5/kf5-attica/recipe.toml
index b7098459f53b03a517906351cd9445316e3d4174..27d31f4b3fc6793445c66599a60aeb703b082314 100644
--- a/recipes/wip/libs/kde5/kf5-attica/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-attica/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/attica-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-auth/recipe.toml b/recipes/wip/libs/kde5/kf5-auth/recipe.toml
index 3e9b9311f0b7b043ae66e71be68e3885107ae988..2f4275f3b1669cc60f83f62a999a6d1e9678ee4e 100644
--- a/recipes/wip/libs/kde5/kf5-auth/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-auth/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kauth-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-baloo/recipe.toml b/recipes/wip/libs/kde5/kf5-baloo/recipe.toml
index b8d3c065735d1f8ff65734b1ec14517ad5ba71ec..5b395c8c70203aac5ed409bc1a8c762f4de096a2 100644
--- a/recipes/wip/libs/kde5/kf5-baloo/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-baloo/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/baloo-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-bookmarks/recipe.toml b/recipes/wip/libs/kde5/kf5-bookmarks/recipe.toml
index 765cd5dce8cb053a20d03bb815573152278ace50..5c2754ee59b2c32c96eacdbdad65d031a95c529b 100644
--- a/recipes/wip/libs/kde5/kf5-bookmarks/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-bookmarks/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kbookmarks-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-calendarcore/recipe.toml b/recipes/wip/libs/kde5/kf5-calendarcore/recipe.toml
index 9088f659807d3dc1e312338ec0f9df65240d358d..7d75fda9bd3efc7db53fd11330b0998b4e39cbed 100644
--- a/recipes/wip/libs/kde5/kf5-calendarcore/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-calendarcore/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kcalendarcore-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-cmake-modules/recipe.toml b/recipes/wip/libs/kde5/kf5-cmake-modules/recipe.toml
index 1a8392252fe1afa3f4319a2591f68acffe1270a5..9cf7db39dc56acd122892e8b1458e4f2317b2d31 100644
--- a/recipes/wip/libs/kde5/kf5-cmake-modules/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-cmake-modules/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/extra-cmake-modules-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-cmutils/recipe.toml b/recipes/wip/libs/kde5/kf5-cmutils/recipe.toml
index ec90f29e7a29770e5dbd62c813e2b4bf198c7480..f1b9a0ae4075acc3af082634c6e55699f9d31bf0 100644
--- a/recipes/wip/libs/kde5/kf5-cmutils/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-cmutils/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kcmutils-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-codecs/recipe.toml b/recipes/wip/libs/kde5/kf5-codecs/recipe.toml
index f0b5609333253339c1a44ee787e3ab2394aa1a04..333788a7ef6dee12d738498d51b201f54a15e064 100644
--- a/recipes/wip/libs/kde5/kf5-codecs/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-codecs/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kcodecs-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-completion/recipe.toml b/recipes/wip/libs/kde5/kf5-completion/recipe.toml
index b35ef7266a469b5b82c035d33ee395a6087c3e76..fec436200fbec02890cf227a30b07e4b6f974f98 100644
--- a/recipes/wip/libs/kde5/kf5-completion/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-completion/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kcompletion-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-config/recipe.toml b/recipes/wip/libs/kde5/kf5-config/recipe.toml
index 9f38c097399bfbce369c1cda4782144710d3c8f8..63914aa9933deb0cc989ae57ec066309a4f108a0 100644
--- a/recipes/wip/libs/kde5/kf5-config/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-config/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kconfig-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-configwidgets/recipe.toml b/recipes/wip/libs/kde5/kf5-configwidgets/recipe.toml
index d99263eac5c36f0111a6c40d37db07c84b64ea8e..4c51ea8794dbc53c180ea24ee85b9c8518f662ab 100644
--- a/recipes/wip/libs/kde5/kf5-configwidgets/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-configwidgets/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kconfigwidgets-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-contacts/recipe.toml b/recipes/wip/libs/kde5/kf5-contacts/recipe.toml
index 510bd9f4e1cf637b2c3bf1c09bf2240e87ba889c..b58290090d0ed94ce95a9fa4c50b0bbc9ebe137c 100644
--- a/recipes/wip/libs/kde5/kf5-contacts/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-contacts/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kcontacts-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-coreaddons/recipe.toml b/recipes/wip/libs/kde5/kf5-coreaddons/recipe.toml
index 0f4fe13e3d2b613528f7d418dde955e4ef70cc43..088f7e648c0abb65e92bfc502634f57eb42ae7c7 100644
--- a/recipes/wip/libs/kde5/kf5-coreaddons/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-coreaddons/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kcoreaddons-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-crash/recipe.toml b/recipes/wip/libs/kde5/kf5-crash/recipe.toml
index 9336b8e7ff0b327fe9840e0b87050965492273ef..a9093fb829d711dd6505a27c21066311f7953edc 100644
--- a/recipes/wip/libs/kde5/kf5-crash/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-crash/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kcrash-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-dav/recipe.toml b/recipes/wip/libs/kde5/kf5-dav/recipe.toml
index 672b45d179f39dcf7926e231f6ed2f01ce69ce0a..4c873a5f03c1cf15113b309714dc703f817dcbed 100644
--- a/recipes/wip/libs/kde5/kf5-dav/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-dav/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kdav-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-dbusaddons/recipe.toml b/recipes/wip/libs/kde5/kf5-dbusaddons/recipe.toml
index 652715d2b0b489f791cf6e33aa43c98970101229..db0c7eae85c04573b7a4867338f0dbbef7282c47 100644
--- a/recipes/wip/libs/kde5/kf5-dbusaddons/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-dbusaddons/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kdbusaddons-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-declarative/recipe.toml b/recipes/wip/libs/kde5/kf5-declarative/recipe.toml
index be266b6d2242142b2252545d98373a7b1b7e9246..a45a0080e9c689d55157ee5f2b753a6ae59d805d 100644
--- a/recipes/wip/libs/kde5/kf5-declarative/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-declarative/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kdeclarative-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-dnssd/recipe.toml b/recipes/wip/libs/kde5/kf5-dnssd/recipe.toml
index bd3bb178fb0b2e8e4df889e8e2bf80ecbec03878..6272ce65d82ebfb9e8c96895e56b2e6a37e7a72b 100644
--- a/recipes/wip/libs/kde5/kf5-dnssd/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-dnssd/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kdnssd-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-doctools/recipe.toml b/recipes/wip/libs/kde5/kf5-doctools/recipe.toml
index fbcf600a07c872a524fdbc1dc56042f6525f5432..a7812d080505e97cddb157d33b85278d359db945 100644
--- a/recipes/wip/libs/kde5/kf5-doctools/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-doctools/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kdoctools-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-emoticons/recipe.toml b/recipes/wip/libs/kde5/kf5-emoticons/recipe.toml
index 6465a062e3223bc35de38bb255965fc593932c2f..2d6c9271847ae1427d4a8de56761164343d9c7a3 100644
--- a/recipes/wip/libs/kde5/kf5-emoticons/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-emoticons/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kemoticons-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-filemetadata/recipe.toml b/recipes/wip/libs/kde5/kf5-filemetadata/recipe.toml
index 850d1ff90d39b535ef000a4851149db25e400f59..16e1794b259328ed413abab3488ecc92b2df32cc 100644
--- a/recipes/wip/libs/kde5/kf5-filemetadata/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-filemetadata/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kfilemetadata-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-frameworkintegration/recipe.toml b/recipes/wip/libs/kde5/kf5-frameworkintegration/recipe.toml
index 4bbaac73d356b384ecbc911197cce06d959f7cbe..06ab5bcac437cd3a73e1a64110e8510e0fe8e38d 100644
--- a/recipes/wip/libs/kde5/kf5-frameworkintegration/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-frameworkintegration/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/frameworkintegration-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-globalaccel/recipe.toml b/recipes/wip/libs/kde5/kf5-globalaccel/recipe.toml
index 55008c2fa4a53fc53f8a2c9056953cbaaa118267..834c410927c6d7c81aba9ddd7168ed46b722cc49 100644
--- a/recipes/wip/libs/kde5/kf5-globalaccel/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-globalaccel/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kglobalaccel-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-guiaddons/recipe.toml b/recipes/wip/libs/kde5/kf5-guiaddons/recipe.toml
index 96abf45cf7cac20d0a3093516375a8679d7e6b45..d4e286559007d0680e590736e561b38e9e58fdc5 100644
--- a/recipes/wip/libs/kde5/kf5-guiaddons/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-guiaddons/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kguiaddons-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-holidays/recipe.toml b/recipes/wip/libs/kde5/kf5-holidays/recipe.toml
index f1b9145a5e0477237ba64ec454bb07ea52954b69..f74648291329c4fe3bb3864d6f359079c1def86c 100644
--- a/recipes/wip/libs/kde5/kf5-holidays/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-holidays/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kholidays-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-i18n/recipe.toml b/recipes/wip/libs/kde5/kf5-i18n/recipe.toml
index 0125093cd3cd52f8d36a1b57384c83c0a7f2ca4e..9d7634097c1ec334e556a5e13f25a9a8edca58af 100644
--- a/recipes/wip/libs/kde5/kf5-i18n/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-i18n/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/ki18n-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-iconthemes/recipe.toml b/recipes/wip/libs/kde5/kf5-iconthemes/recipe.toml
index a932ef5ed8bf388733854f29da4ccfa541e3fd24..65df52b664f2264e7337cb78c14b8500bb0fadc9 100644
--- a/recipes/wip/libs/kde5/kf5-iconthemes/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-iconthemes/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kiconthemes-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-idletime/recipe.toml b/recipes/wip/libs/kde5/kf5-idletime/recipe.toml
index 8acb1b156a3d19beb99364db5e9350a2e5ce1377..2f81d93eb8016ab0b34ce817f267d13bf8bd10cb 100644
--- a/recipes/wip/libs/kde5/kf5-idletime/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-idletime/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kidletime-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-init/recipe.toml b/recipes/wip/libs/kde5/kf5-init/recipe.toml
index 95fb36b337968f03382d9c164f1b20c7c9b585e2..e6df78a79913ea49b3ab4e5d17598babce24ebbc 100644
--- a/recipes/wip/libs/kde5/kf5-init/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-init/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kinit-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-io/recipe.toml b/recipes/wip/libs/kde5/kf5-io/recipe.toml
index ac39541d4694521ff52e602d9b663f3ec2ce9859..ea49c5b83db90381ccb1daef25f28d0e7f5272e7 100644
--- a/recipes/wip/libs/kde5/kf5-io/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-io/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kio-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-itemmodels/recipe.toml b/recipes/wip/libs/kde5/kf5-itemmodels/recipe.toml
index 143c790b71252986bb5ca8f5660949cd39e878c9..0120f605a9aa805592b274421c37a63bf81b519d 100644
--- a/recipes/wip/libs/kde5/kf5-itemmodels/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-itemmodels/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kitemmodels-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-itemviews/recipe.toml b/recipes/wip/libs/kde5/kf5-itemviews/recipe.toml
index 5439efad0776ccda4bb283d130156ba0732cedbd..51849a659ac581c94331f5acf3d62709927627f2 100644
--- a/recipes/wip/libs/kde5/kf5-itemviews/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-itemviews/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kitemviews-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-jobwidgets/recipe.toml b/recipes/wip/libs/kde5/kf5-jobwidgets/recipe.toml
index ec2a9b47442dbda3bd13c68c20011776e85e71eb..f8380024bcf85c8419073ee056b6723d7a78ae2e 100644
--- a/recipes/wip/libs/kde5/kf5-jobwidgets/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-jobwidgets/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kjobwidgets-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-kded/recipe.toml b/recipes/wip/libs/kde5/kf5-kded/recipe.toml
index 0dd64762d5ff649ec9a55f530501319f8584ee0c..f983a36824869426af1e671e2c1b4f9648c2e605 100644
--- a/recipes/wip/libs/kde5/kf5-kded/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-kded/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kded-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-kdesu/recipe.toml b/recipes/wip/libs/kde5/kf5-kdesu/recipe.toml
index 53c95e5dd588d7a1b6b2a7da8d80ae751bfba253..a878b1cd5d60865cd7fe9ed636ada7cb1cd1c6fa 100644
--- a/recipes/wip/libs/kde5/kf5-kdesu/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-kdesu/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kdesu-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-kirigami/recipe.toml b/recipes/wip/libs/kde5/kf5-kirigami/recipe.toml
index 9bca3ddb12918baf15d7432f267b3953fddae54e..14f16f45c03b39516934b8e9675232bf001c0293 100644
--- a/recipes/wip/libs/kde5/kf5-kirigami/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-kirigami/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kirigami-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-modem-manager/recipe.toml b/recipes/wip/libs/kde5/kf5-modem-manager/recipe.toml
index 67909fc18bf8d6785cd5b8ccde3dcf0875765c99..d934ab28fda901895b367d83f6b1bce109054280 100644
--- a/recipes/wip/libs/kde5/kf5-modem-manager/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-modem-manager/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/modemmanager-qt5-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-networkmanager/recipe.toml b/recipes/wip/libs/kde5/kf5-networkmanager/recipe.toml
index 71887fc70478d650a2b2f9b70608565ae901c402..4e374638cfcf9498c2ef050a19fbe2c16f7b5c18 100644
--- a/recipes/wip/libs/kde5/kf5-networkmanager/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-networkmanager/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/networkmanager-qt5-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-newstuff/recipe.toml b/recipes/wip/libs/kde5/kf5-newstuff/recipe.toml
index d5b65faa7482877f968d01c27498d308dd46a81e..f5736ca3a4a90938b1df93688af70924a6a576d5 100644
--- a/recipes/wip/libs/kde5/kf5-newstuff/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-newstuff/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/knewstuff-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-notifications/recipe.toml b/recipes/wip/libs/kde5/kf5-notifications/recipe.toml
index 8322671611558212f5f6f7dd801dba9eb54eb0f2..bea54a4ef3a2dcc8cd8055e97074076845840739 100644
--- a/recipes/wip/libs/kde5/kf5-notifications/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-notifications/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/knotifications-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-notifyconfig/recipe.toml b/recipes/wip/libs/kde5/kf5-notifyconfig/recipe.toml
index f0c5d2f17cea938e85bf427c2014139d353bdcf5..f1bae3131b7ce128ff1729d5507766875764b45d 100644
--- a/recipes/wip/libs/kde5/kf5-notifyconfig/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-notifyconfig/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/knotifyconfig-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-package/recipe.toml b/recipes/wip/libs/kde5/kf5-package/recipe.toml
index 7391c379071e4b08c7faeb750373c3c74568becd..bededd5ebd6a6ac9ee2c1744cdcc2f6993442589 100644
--- a/recipes/wip/libs/kde5/kf5-package/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-package/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kpackage-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-people/recipe.toml b/recipes/wip/libs/kde5/kf5-people/recipe.toml
index 078ece73d4700f20c5a1a41c30cc15040606f610..61bdbad2bc539e804e516419b8ac546869a2d998 100644
--- a/recipes/wip/libs/kde5/kf5-people/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-people/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kpeople-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-plasma-framework/recipe.toml b/recipes/wip/libs/kde5/kf5-plasma-framework/recipe.toml
index 6f7b88ecc168a2e97dacdb3f9510c8bac068cb8a..f42423a9cb14a0fe9a3512d0f4bfd868f0e5823b 100644
--- a/recipes/wip/libs/kde5/kf5-plasma-framework/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-plasma-framework/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/plasma-framework-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-plotting/recipe.toml b/recipes/wip/libs/kde5/kf5-plotting/recipe.toml
index 4cbb3b971d700dc99d9cdeb778dfa10d6ea0b708..c0b9511cc2223319a5ffb9b7516dbecbc393d797 100644
--- a/recipes/wip/libs/kde5/kf5-plotting/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-plotting/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kplotting-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-prison/recipe.toml b/recipes/wip/libs/kde5/kf5-prison/recipe.toml
index 3d98a46986535e1ad4a886e3c8428e562ac95794..81a48904910e618b7dc08a768fd9a9ac7e228e54 100644
--- a/recipes/wip/libs/kde5/kf5-prison/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-prison/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplte script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/prison-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-pty/recipe.toml b/recipes/wip/libs/kde5/kf5-pty/recipe.toml
index 048f371f5fe03acdb7c4d31a2c2678c10a0b8979..62d809cc67239f7155c0597ee685fa251db6872d 100644
--- a/recipes/wip/libs/kde5/kf5-pty/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-pty/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kpty-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-purpose/recipe.toml b/recipes/wip/libs/kde5/kf5-purpose/recipe.toml
index a54220947552042b8c155c05bfeb684213311911..c5e260e2ce784761fad99b484036c9d24e7706a7 100644
--- a/recipes/wip/libs/kde5/kf5-purpose/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-purpose/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/purpose-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-qqc2-desktop-style/recipe.toml b/recipes/wip/libs/kde5/kf5-qqc2-desktop-style/recipe.toml
index cf907877d2ad3d34404cd26c193fef7433c4b458..c64dcb2a4614f066272fbc0750b23d82ad216e4c 100644
--- a/recipes/wip/libs/kde5/kf5-qqc2-desktop-style/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-qqc2-desktop-style/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/qqc2-desktop-style-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-quickcharts/recipe.toml b/recipes/wip/libs/kde5/kf5-quickcharts/recipe.toml
index 517a67e9c10274fbfb3ebb8394f860b70976aa3f..5ae322741ee775221e707c6c7a046f8c3014bd58 100644
--- a/recipes/wip/libs/kde5/kf5-quickcharts/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-quickcharts/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kquickcharts-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-runner/recipe.toml b/recipes/wip/libs/kde5/kf5-runner/recipe.toml
index 87a4f8c13dddf7f67b7b11405f334c0da7fee977..18a44150f8a78587b95488303b9aceed5d8f9cdf 100644
--- a/recipes/wip/libs/kde5/kf5-runner/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-runner/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/krunner-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-service/recipe.toml b/recipes/wip/libs/kde5/kf5-service/recipe.toml
index cdf8c2379cdef85a4acd7381095b2d4246ff3dae..65ea3bc41478510e82468436ff7002cd79a75202 100644
--- a/recipes/wip/libs/kde5/kf5-service/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-service/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kservice-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-solid/recipe.toml b/recipes/wip/libs/kde5/kf5-solid/recipe.toml
index 0ddc6589a2e2c1e801d5f0a62332f1efbde842bf..3025bb02862cd132cea1deaee09bf425c874760e 100644
--- a/recipes/wip/libs/kde5/kf5-solid/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-solid/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/solid-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-sonnet/recipe.toml b/recipes/wip/libs/kde5/kf5-sonnet/recipe.toml
index 4f7a13eb0d22471c58188e98c5237afdeca760b5..1f9f1387a209daf9529e4fb600317f60a916314a 100644
--- a/recipes/wip/libs/kde5/kf5-sonnet/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-sonnet/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/sonnet-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-syndication/recipe.toml b/recipes/wip/libs/kde5/kf5-syndication/recipe.toml
index 3c97390f4b263c1baae51565ec07bb1bad9b0cc0..a99344ea63fb70e0f6bdd3723c4b71a8b3078dea 100644
--- a/recipes/wip/libs/kde5/kf5-syndication/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-syndication/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/syndication-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-syntax-highlighting/recipe.toml b/recipes/wip/libs/kde5/kf5-syntax-highlighting/recipe.toml
index 350a3d9f171a5e7f4b1f6a84ee70594bd774a439..74e0dda788d923675a20153cbb5d64b3eebdf9a1 100644
--- a/recipes/wip/libs/kde5/kf5-syntax-highlighting/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-syntax-highlighting/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/syntax-highlighting-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-texteditor/recipe.toml b/recipes/wip/libs/kde5/kf5-texteditor/recipe.toml
index 3165c1555f3089d9f5e9822a979bbaab208df549..f8f2ed56db78d10adf9cc11c30318cf7a4beb5dc 100644
--- a/recipes/wip/libs/kde5/kf5-texteditor/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-texteditor/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/ktexteditor-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-textwidgets/recipe.toml b/recipes/wip/libs/kde5/kf5-textwidgets/recipe.toml
index 18d5489ac0421aafa9823d9ad992da80ba1cf5f0..de286721065e1c83e05f9ca3c52c7db82ddbedd9 100644
--- a/recipes/wip/libs/kde5/kf5-textwidgets/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-textwidgets/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/ktextwidgets-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-threadweaver/recipe.toml b/recipes/wip/libs/kde5/kf5-threadweaver/recipe.toml
index 608b567a3218df8c46b9c63fea2a11138950bbab..3943c71c1e22b3afbae46b1629691b8c98958350 100644
--- a/recipes/wip/libs/kde5/kf5-threadweaver/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-threadweaver/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/threadweaver-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-unitconversion/recipe.toml b/recipes/wip/libs/kde5/kf5-unitconversion/recipe.toml
index 9a45159451b6794e88dfb6c060b898e94f8a312b..418bc9cd1a05071978bfcbbe48ddaf43c5c1d767 100644
--- a/recipes/wip/libs/kde5/kf5-unitconversion/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-unitconversion/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kunitconversion-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-wayland/recipe.toml b/recipes/wip/libs/kde5/kf5-wayland/recipe.toml
index 39003af42587a92719f3ffd8a204153d78d51bce..b298ff58ca4e02c867f513fbd0f69588a42b8470 100644
--- a/recipes/wip/libs/kde5/kf5-wayland/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-wayland/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kwayland-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-widgetaddons/recipe.toml b/recipes/wip/libs/kde5/kf5-widgetaddons/recipe.toml
index 51d84f75a17418d41eaa07b80568d8fda9882098..01916dc3f1b24524c0782d0a36d6588fca192fe9 100644
--- a/recipes/wip/libs/kde5/kf5-widgetaddons/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-widgetaddons/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kwidgetaddons-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-windowsystem/recipe.toml b/recipes/wip/libs/kde5/kf5-windowsystem/recipe.toml
index ab5f51fcbf3cb807a827a3dd912d9a1a8ddce547..fb90653ad066cde87e87192fb9768431be84ae3f 100644
--- a/recipes/wip/libs/kde5/kf5-windowsystem/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-windowsystem/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kwindowsystem-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""
diff --git a/recipes/wip/libs/kde5/kf5-xmlgui/recipe.toml b/recipes/wip/libs/kde5/kf5-xmlgui/recipe.toml
index 66bec6829358141c86010d04b84a16120fae21b9..0ded2726a490d824c94a97be55454a38a9ea4b5e 100644
--- a/recipes/wip/libs/kde5/kf5-xmlgui/recipe.toml
+++ b/recipes/wip/libs/kde5/kf5-xmlgui/recipe.toml
@@ -1,5 +1,20 @@
-#TODO missing script for CMake, lacking build instructions
+#TODO maybe incomplete script, lacking build instructions
 [source]
 tar = "https://download.kde.org/stable/frameworks/5.112/kxmlgui-5.112.0.tar.xz"
 [build]
 template = "custom"
+script = """
+COOKBOOK_CONFIGURE="cmake"
+COOKBOOK_CONFIGURE_FLAGS=(
+    -DCMAKE_BUILD_TYPE=Release
+    -DCMAKE_CROSSCOMPILING=True
+    -DCMAKE_EXE_LINKER_FLAGS="-static"
+    -DCMAKE_INSTALL_PREFIX="/"
+    -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
+    -DCMAKE_SYSTEM_NAME=Generic
+    -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
+    -DCMAKE_VERBOSE_MAKEFILE=On
+"${COOKBOOK_SOURCE}"
+)
+cookbook_configure
+"""