diff options
author | Simon Rettberg | 2019-05-28 10:55:32 +0200 |
---|---|---|
committer | root | 2019-05-28 10:55:32 +0200 |
commit | a21be5dc5375f4a3c8d540abe2fd5323f30cafae (patch) | |
tree | 61994a14062db30f0f4e988765561015e5894639 /core/modules/slx-tools/module.build | |
parent | [*] Use logind.conf to kill user processes (diff) | |
download | mltk-a21be5dc5375f4a3c8d540abe2fd5323f30cafae.tar.gz mltk-a21be5dc5375f4a3c8d540abe2fd5323f30cafae.tar.xz mltk-a21be5dc5375f4a3c8d540abe2fd5323f30cafae.zip |
[slx-tools] New module
Diffstat (limited to 'core/modules/slx-tools/module.build')
-rw-r--r-- | core/modules/slx-tools/module.build | 13 |
1 files changed, 13 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" +} + |