From 3d1235af060955e271be68240c0ca46bc6d81b03 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Tue, 25 Mar 2014 15:24:04 +0100 Subject: [modules] new module naming convention rename $MODULE.{conf,build} to module.{conf,build} --- remote/modules/beamergui/module.build | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 remote/modules/beamergui/module.build (limited to 'remote/modules/beamergui/module.build') 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() { + : +} -- cgit v1.2.3-55-g7522