blob: 179d7e72d957da120df03d6a8a73bf75625ebbf0 (
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
|
#!/bin/bash
fetch_source() {
autoclone
git -C "${MODULE_WORK_DIR}/src/LookingGlass" submodule update --init --recursive || perror "Failed to init and update submodules!"
}
build() {
local SRCDIR="${MODULE_WORK_DIR}/src/LookingGlass"
local DSTDIR="${MODULE_BUILD_DIR}"
mkdir -p "${SRCDIR}/client/build" || perror "Failed to create CMake build directory!"
cde "${SRCDIR}/client/build"
cmake -DENABLE_WAYLAND=no \
-DENABLE_X11=yes \
-DCMAKE_INSTALL_PREFIX=/usr \
../ || perror "'cmake' failed."
make || perror "'make' failed."
DESTDIR="${DSTDIR}" make install || perror "'make install' failed."
}
post_copy() {
:
}
|