summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/modules/cowgui/module.build22
-rw-r--r--core/modules/cowgui/module.conf9
l---------core/targets/bwlp/cowgui1
3 files changed, 32 insertions, 0 deletions
diff --git a/core/modules/cowgui/module.build b/core/modules/cowgui/module.build
new file mode 100644
index 00000000..05730c02
--- /dev/null
+++ b/core/modules/cowgui/module.build
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+fetch_source() {
+ autoclone
+}
+
+build() {
+ local SRCDIR="${MODULE_WORK_DIR}/src/cowgui"
+
+ mkdir -p "${MODULE_BUILD_DIR}/${REQUIRED_PREFIX}"
+ cde "${MODULE_BUILD_DIR}/${REQUIRED_PREFIX}"
+
+ pinfo "Running cmake"
+
+ cmake "$SRCDIR" || perror "'cmake $SRCDIR' failed."
+ make || perror "'make' failed."
+}
+
+post_copy() {
+ :
+}
+
diff --git a/core/modules/cowgui/module.conf b/core/modules/cowgui/module.conf
new file mode 100644
index 00000000..92eb4b9f
--- /dev/null
+++ b/core/modules/cowgui/module.conf
@@ -0,0 +1,9 @@
+#!/bin/bash
+REQUIRED_MODULES="
+ qt5core
+"
+REQUIRED_GIT="https://git.openslx.org/openslx-ng/cowgui.git"
+REQUIRED_PREFIX="/opt/openslx/bin"
+REQUIRED_BINARIES="cowgui"
+REQUIRED_LIBRARIES="
+"
diff --git a/core/targets/bwlp/cowgui b/core/targets/bwlp/cowgui
new file mode 120000
index 00000000..1ee037e9
--- /dev/null
+++ b/core/targets/bwlp/cowgui
@@ -0,0 +1 @@
+../../modules/cowgui \ No newline at end of file