summaryrefslogtreecommitdiffstats
path: root/core/modules/x11vnc-src/module.build
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/x11vnc-src/module.build')
-rw-r--r--core/modules/x11vnc-src/module.build18
1 files changed, 18 insertions, 0 deletions
diff --git a/core/modules/x11vnc-src/module.build b/core/modules/x11vnc-src/module.build
new file mode 100644
index 00000000..eeaa462d
--- /dev/null
+++ b/core/modules/x11vnc-src/module.build
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+fetch_source() {
+ download_untar "$REQUIRED_DEB_URL" "src/"
+}
+
+build() {
+ cde "${MODULE_WORK_DIR}"/src/x11vnc-*
+ ./configure --without-filetransfer --with-x11vnc \
+ --without-xrecord --without-xdamage --without-dpms \
+ --without-v4l --without-fbdev --without-macosx-native \
+ --without-avahi \
+ || perror "Cannot configure x11vnc"
+ make || perror "make failed"
+ cde x11vnc
+ mkdir -p "${MODULE_BUILD_DIR}/usr/bin"
+ cp "x11vnc" "${MODULE_BUILD_DIR}/usr/bin/" || perror "cp fail"
+}