blob: 9189d7f3a912a0c70ad90c0ba6293fef051f77b3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/bash
fetch_source() {
git clone "${REQUIRED_GIT}" src
}
build() {
local SRCDIR="${MODULE_DIR}/src/"
local DESTDIR="$MODULE_BUILD_DIR/opt/openslx/bin"
# first activate qt 4
activate_qt 4
mkdir -p "$DESTDIR"
cd "$DESTDIR" || perror "Could not cd to $DESTDIR!"
pinfo "Running cmake"
cmake "$SRCDIR" || perror "'cmake $SRCDIR' failed."
pinfo "Running make"
make || perror "'make' failed."
cd "$MODULE_DIR" > /dev/null
}
post_copy() {
:
}
|