summaryrefslogtreecommitdiffstats
path: root/remote/modules/pvs2
diff options
context:
space:
mode:
authorManuel Schneider2014-07-09 16:24:27 +0200
committerManuel Schneider2014-07-09 16:24:27 +0200
commiteb27ffea07e7fcf0e1b2f737f9f8e1f31092c0dd (patch)
tree7433d6f4777f44ac1fd5c7eae141a4292fcc9cbb /remote/modules/pvs2
parent[kernel] delete link commit by error (diff)
downloadtm-scripts-eb27ffea07e7fcf0e1b2f737f9f8e1f31092c0dd.tar.gz
tm-scripts-eb27ffea07e7fcf0e1b2f737f9f8e1f31092c0dd.tar.xz
tm-scripts-eb27ffea07e7fcf0e1b2f737f9f8e1f31092c0dd.zip
[Testing] added pvs2 module for testing pruposes
Diffstat (limited to 'remote/modules/pvs2')
-rw-r--r--remote/modules/pvs2/module.build22
-rw-r--r--remote/modules/pvs2/module.conf9
-rw-r--r--remote/modules/pvs2/module.conf.debian6
-rw-r--r--remote/modules/pvs2/module.conf.ubuntu6
4 files changed, 43 insertions, 0 deletions
diff --git a/remote/modules/pvs2/module.build b/remote/modules/pvs2/module.build
new file mode 100644
index 00000000..2ff35bfc
--- /dev/null
+++ b/remote/modules/pvs2/module.build
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+fetch_source() {
+ git clone "${REQUIRED_GIT}" src
+}
+
+build() {
+ local SRCDIR="${MODULE_DIR}/src/"
+
+ # first activate qt 4
+ activate_qt 4
+
+ mkdir -p "$MODULE_BUILD_DIR/opt/openslx/bin"
+ cd "${MODULE_BUILD_DIR}/opt/openslx/bin" || perror "Could not cd!"
+ pinfo "Running qmake"
+ qmake-qt4 "$SRCDIR/src/beamergui.pro" -r -spec linux-g++ || perror "'qmake-qt4' failed (e.g. not installed)."
+ pinfo "Running make"
+ make || perror "'make' failed."
+}
+post_copy() {
+ :
+}
diff --git a/remote/modules/pvs2/module.conf b/remote/modules/pvs2/module.conf
new file mode 100644
index 00000000..c74bdf16
--- /dev/null
+++ b/remote/modules/pvs2/module.conf
@@ -0,0 +1,9 @@
+REQUIRED_GIT="git://git.openslx.org/pvs2.git"
+REQUIRED_BINARIES="
+ pvs2
+"
+REQUIRED_LIBRARIES="
+"
+REQUIRED_SYSTEM_FILES="
+"
+# TODO add libraries
diff --git a/remote/modules/pvs2/module.conf.debian b/remote/modules/pvs2/module.conf.debian
new file mode 100644
index 00000000..f031a225
--- /dev/null
+++ b/remote/modules/pvs2/module.conf.debian
@@ -0,0 +1,6 @@
+REQUIRED_INSTALLED_PACKAGES="
+libqt4-dev
+libvncserver-dev
+"
+REQUIRED_CONTENT_PACKAGES="
+"
diff --git a/remote/modules/pvs2/module.conf.ubuntu b/remote/modules/pvs2/module.conf.ubuntu
new file mode 100644
index 00000000..f031a225
--- /dev/null
+++ b/remote/modules/pvs2/module.conf.ubuntu
@@ -0,0 +1,6 @@
+REQUIRED_INSTALLED_PACKAGES="
+libqt4-dev
+libvncserver-dev
+"
+REQUIRED_CONTENT_PACKAGES="
+"