From eb27ffea07e7fcf0e1b2f737f9f8e1f31092c0dd Mon Sep 17 00:00:00 2001 From: Manuel Schneider Date: Wed, 9 Jul 2014 16:24:27 +0200 Subject: [Testing] added pvs2 module for testing pruposes --- remote/modules/pvs2/module.build | 22 ++++++++++++++++++++++ remote/modules/pvs2/module.conf | 9 +++++++++ remote/modules/pvs2/module.conf.debian | 6 ++++++ remote/modules/pvs2/module.conf.ubuntu | 6 ++++++ 4 files changed, 43 insertions(+) create mode 100644 remote/modules/pvs2/module.build create mode 100644 remote/modules/pvs2/module.conf create mode 100644 remote/modules/pvs2/module.conf.debian create mode 100644 remote/modules/pvs2/module.conf.ubuntu (limited to 'remote') 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=" +" -- cgit v1.2.3-55-g7522