diff options
-rw-r--r-- | core/modules/slx-tools/module.build | 13 | ||||
-rw-r--r-- | core/modules/slx-tools/module.conf | 14 | ||||
l--------- | core/targets/stage32-bwlp/slx-tools | 1 |
3 files changed, 28 insertions, 0 deletions
diff --git a/core/modules/slx-tools/module.build b/core/modules/slx-tools/module.build new file mode 100644 index 00000000..6d6ec4cf --- /dev/null +++ b/core/modules/slx-tools/module.build @@ -0,0 +1,13 @@ +#!/bin/bash +fetch_source() { + autoclone +} + +build() { + cde "${MODULE_WORK_DIR}/src/slx-tools" + ./make.sh "$REQUIRED_BASE_DIR" || perror "Could not generate slx-tools" + mkdir -p "$MODULE_BUILD_DIR/opt/openslx/"{bin,slx-tools} + cp slx-tools "$MODULE_BUILD_DIR/opt/openslx/bin/slx-tools" || perror "Could not copy slx-tools main script" + cp -r modules "$MODULE_BUILD_DIR/opt/openslx/slx-tools/modules" || perror "Could not copy slx-tools modules" +} + diff --git a/core/modules/slx-tools/module.conf b/core/modules/slx-tools/module.conf new file mode 100644 index 00000000..461760ca --- /dev/null +++ b/core/modules/slx-tools/module.conf @@ -0,0 +1,14 @@ +#!/bin/bash + +REQUIRED_GIT="https://git.openslx.org/openslx-ng/slx-tools.git" + +REQUIRED_BASE_DIR="/opt/openslx/slx-tools" + +REQUIRED_FILES=" + /opt/openslx/bin/slx-tools +" + +REQUIRED_DIRECTORIES=" + $REQUIRED_BASE_DIR/modules +" + diff --git a/core/targets/stage32-bwlp/slx-tools b/core/targets/stage32-bwlp/slx-tools new file mode 120000 index 00000000..20c7450b --- /dev/null +++ b/core/targets/stage32-bwlp/slx-tools @@ -0,0 +1 @@ +../../modules/slx-tools
\ No newline at end of file |