blob: fcae45e00797b267da835c6280b2aeab4772ce10 (
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() {
:
}
build() {
# We ship xprintidle's source as suse doesn't have it in one of the default repos
# and its just too tiny to do anything fancy like fetching source from somewhere
mkdir -p "$MODULE_BUILD_DIR/opt/openslx/bin"
gcc -std=c99 -o "$MODULE_BUILD_DIR/opt/openslx/bin/xprintidle" "$MODULE_DIR/xprintidle.c" -lX11 -lXss -lXext \
|| perror "Compilation of xprintidle failed!"
gcc -std=c99 -o "$MODULE_BUILD_DIR/opt/openslx/bin/xprintlocktime" "$MODULE_DIR/xprintlocktime.c" -lX11 \
|| perror "Compilation of xprintlocktime failed!"
}
post_copy() {
:
}
|