Signed-off-by: Eric Joldasov <
bratishkaerik@landless-city.net>
---
eclass/zig-build.eclass | 580 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 580 insertions(+)
create mode 100644 eclass/zig-build.eclass
diff --git a/eclass/zig-build.eclass b/eclass/zig-build.eclass
new file mode 100644
index 000000000000..ffa075043cde
--- /dev/null
+++ b/eclass/zig-build.eclass
@@ -0,0 +1,580 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# @ECLASS: zig-build.eclass
+# @MAINTAINER:
+# Eric Joldasov <
bratishkaerik@landless-city.net>
+# @AUTHOR:
+# Alfred Wingate <
parona@protonmail.com>
+# Violet Purcell <
vimproved@inventati.org>
+# Eric Joldasov <
bratishkaerik@landless-city.net>
+# @SUPPORTED_EAPIS: 8
+# @PROVIDES: zig-toolchain
+# @BLURB: Functions for working with ZBS (Zig Build System)
+# @DESCRIPTION:
+# Functions for working with Zig build system and package manager.
+# Supports Zig 0.13+. Exports default functions for convenience.
+#
+# Note that zig-build.eclass is mostly tailor