summaryrefslogtreecommitdiffstats
path: root/remote/modules/beamergui/module.build
diff options
context:
space:
mode:
authorMichael Pereira Neves2014-03-31 21:14:19 +0200
committerMichael Pereira Neves2014-03-31 21:14:19 +0200
commitc68cfbfde55cf8565ba186dd60f2065e2269650a (patch)
tree6dbe7a31e0d943c968fad644f653effc903ae9b7 /remote/modules/beamergui/module.build
parent[brazilian] add brazilian locale and keymaps (diff)
parent[vbox] re-set permissions: openslx/script entries (diff)
downloadtm-scripts-c68cfbfde55cf8565ba186dd60f2065e2269650a.tar.gz
tm-scripts-c68cfbfde55cf8565ba186dd60f2065e2269650a.tar.xz
tm-scripts-c68cfbfde55cf8565ba186dd60f2065e2269650a.zip
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
Diffstat (limited to 'remote/modules/beamergui/module.build')
-rw-r--r--remote/modules/beamergui/module.build19
1 files changed, 19 insertions, 0 deletions
diff --git a/remote/modules/beamergui/module.build b/remote/modules/beamergui/module.build
new file mode 100644
index 00000000..837a2e38
--- /dev/null
+++ b/remote/modules/beamergui/module.build
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+fetch_source() {
+ git clone "${REQUIRED_GIT}" src
+}
+
+build() {
+ local SRCDIR="${MODULE_DIR}/src/"
+
+ mkdir -p "$MODULE_BUILD_DIR/opt/openslx/bin"
+ cd "${MODULE_BUILD_DIR}/opt/openslx/bin" || perror "Could not cd!"
+ pinfo "Running qmake"
+ qmake "$SRCDIR/src/beamergui.pro" -r -spec linux-g++ || perror "'qmake' failed (e.g. not installed)."
+ pinfo "Running make"
+ make || perror "'make' failed."
+}
+post_copy() {
+ :
+}