sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Conner Clere (2682588ba0706071aae1e1cb748bf58043158b53)
- From: Conner Clere <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Conner Clere (2682588ba0706071aae1e1cb748bf58043158b53)
- Date: Wed, 3 Jan 2024 23:28:47 +0000
GIT changes to master grimoire by Conner Clere <xenanthropy AT sourcemage.org>:
ChangeLog | 3 +++
devel/odin-lang/BUILD | 1 +
devel/odin-lang/DEPENDS | 6 ++++++
devel/odin-lang/DETAILS | 17 +++++++++++++++++
devel/odin-lang/HISTORY | 3 +++
devel/odin-lang/INSTALL | 12 ++++++++++++
6 files changed, 42 insertions(+)
New commits:
commit 2682588ba0706071aae1e1cb748bf58043158b53
Author: Conner Clere <xenanthropy AT sourcemage.org>
Commit: Conner Clere <xenanthropy AT sourcemage.org>
devel/odin-lang: new spell, odin programming lang
diff --git a/ChangeLog b/ChangeLog
index 20b8501..112bcb3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2024-01-03 Conner Clere <xenanthropy AT sourcemage.org>
+ * devel/odin-lang: new spell, odin programming language
+
2023-12-25 Pavel Vinogradov <public AT sourcemage.org>
* ruby-raa/ruby-3.3: new spell, Ruby 3.3
diff --git a/devel/odin-lang/BUILD b/devel/odin-lang/BUILD
new file mode 100755
index 0000000..1ed8a4e
--- /dev/null
+++ b/devel/odin-lang/BUILD
@@ -0,0 +1 @@
+make -j "$MAKE_NJOBS" CC="${CC:-cc}" HOSTCC="${HOSTCC:-${CC:-cc}}" release
diff --git a/devel/odin-lang/DEPENDS b/devel/odin-lang/DEPENDS
new file mode 100755
index 0000000..a3d2f76
--- /dev/null
+++ b/devel/odin-lang/DEPENDS
@@ -0,0 +1,6 @@
+. "$GRIMOIRE"/VDEPENDS &&
+depends PKG-CONFIG &&
+vdepends <<!
+ llvm[CLANG,LLD]
+ llvm[TARGET-AArch64,TARGET-X86,TARGET-WebAssembly]
+!
diff --git a/devel/odin-lang/DETAILS b/devel/odin-lang/DETAILS
new file mode 100755
index 0000000..b3f8bdb
--- /dev/null
+++ b/devel/odin-lang/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=odin-lang
+ VERSION=dev-2023-12
+ SOURCE=Odin-$VERSION.tar.gz
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/Odin-$VERSION"
+
SOURCE_URL[0]=https://github.com/${SPELL}/Odin/archive/refs/tags/${VERSION}.tar.gz
+
SOURCE_HASH=sha512:aef1ff20b07956a825bcc100bf254996cf52fe7ec1e4893a8993890b93a2a182750d02c09c92544f4b596e15c28e6270f175868f3f249e8b8d37e62b30980f2a
+ LICENSE[0]=BSD
+ WEB_SITE=https://odin-lang.org/
+ ENTERED=20240103
+ KEYWORDS="odin lang programming code"
+ SHORT="data-oriented language for sane software development"
+cat << EOF
+Odin is a general-purpose programming language with distinct typing
+built for high performance, modern systems and data-oriented programming.
+
+Odin is the C alternative for the Joy of Programming.
+EOF
diff --git a/devel/odin-lang/HISTORY b/devel/odin-lang/HISTORY
new file mode 100644
index 0000000..2fa1628
--- /dev/null
+++ b/devel/odin-lang/HISTORY
@@ -0,0 +1,3 @@
+2024-01-03 Conner Clere <xenanthropy AT sourcemage.org>
+ * DEPENDS, BUILD, INSTALL, DETAILS: version dev-2023-12, new spell
+
diff --git a/devel/odin-lang/INSTALL b/devel/odin-lang/INSTALL
new file mode 100755
index 0000000..dda5592
--- /dev/null
+++ b/devel/odin-lang/INSTALL
@@ -0,0 +1,12 @@
+cd "${SOURCE_DIRECTORY}" &&
+mkdir -p "${INSTALL_ROOT}/opt/odin" &&
+
+cp odin "${INSTALL_ROOT}/opt/odin/odin" &&
+cp -r core "${INSTALL_ROOT}/opt/odin/core" &&
+cp -r vendor "${INSTALL_ROOT}/opt/odin/vendor" &&
+
+if [[ ! -f "${INSTALL_ROOT}/usr/bin/odin" ]]; then
+ ln -sf "${INSTALL_ROOT}/opt/odin/odin" "${INSTALL_ROOT}/usr/bin/odin"
+else
+ message "Cannot continue, /usr/bin/odin already exists!"
+fi
- [SM-Commit] GIT changes to master grimoire by Conner Clere (2682588ba0706071aae1e1cb748bf58043158b53), Conner Clere, 01/03/2024
Archive powered by MHonArc 2.6.24.