summaryrefslogtreecommitdiffstats
path: root/core/modules/xscreensaver/module.build
diff options
context:
space:
mode:
authorSimon Rettberg2018-10-11 15:07:41 +0200
committerSimon Rettberg2018-10-11 15:07:41 +0200
commit60f365e413be60cd7d7a616c62200c33361e43f8 (patch)
tree48fdd7c7aef11632b817aad491a6c4c207184029 /core/modules/xscreensaver/module.build
parent[speedcheck] Remove defunct helper call (diff)
downloadmltk-60f365e413be60cd7d7a616c62200c33361e43f8.tar.gz
mltk-60f365e413be60cd7d7a616c62200c33361e43f8.tar.xz
mltk-60f365e413be60cd7d7a616c62200c33361e43f8.zip
[xscreensaver] Build bwlp-screensaver
Diffstat (limited to 'core/modules/xscreensaver/module.build')
-rw-r--r--core/modules/xscreensaver/module.build9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/modules/xscreensaver/module.build b/core/modules/xscreensaver/module.build
index 5fa3a36f..c78497fb 100644
--- a/core/modules/xscreensaver/module.build
+++ b/core/modules/xscreensaver/module.build
@@ -1,9 +1,16 @@
#!/bin/bash
fetch_source() {
- :
+ git clone "${REQUIRED_GIT}" "${MODULE_WORK_DIR}/src" || perror "Could not clone $REQUIRED_GIT"
}
build() {
+ [ ! -d "${MODULE_BUILD_DIR}/${REQUIRED_PREFIX}" ] && mkdir -p "${MODULE_BUILD_DIR}/${REQUIRED_PREFIX}"
+ cd "${MODULE_BUILD_DIR}/${REQUIRED_PREFIX}"
+
+ pinfo "Running cmake"
+
+ cmake "$SRCDIR" || perror "'cmake $SRCDIR' failed."
+ make || perror "'make' failed."
COPYLIST="list_dpkg_output"
list_packet_files > "$COPYLIST"
tarcopy "$(cat "${COPYLIST}" | sort -u)" "${MODULE_BUILD_DIR}"