blob: 624c120900cd6118fa7be532531e266e4f9f8d25 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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-qt4 "$SRCDIR/src/printergui.pro" -r -spec linux-g++ || perror "'qmake' failed."
pinfo "Running make"
make || perror "'make' failed."
}
post_copy() {
chmod a+rwt "${TARGET_BUILD_DIR}/var/spool/STANDARD"
}
|