diff options
-rw-r--r-- | core/modules/x11vnc-src/module.build | 18 | ||||
-rw-r--r-- | core/modules/x11vnc-src/module.conf | 5 | ||||
l--------- | core/targets/bwlp/x11vnc | 2 |
3 files changed, 24 insertions, 1 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" +} diff --git a/core/modules/x11vnc-src/module.conf b/core/modules/x11vnc-src/module.conf new file mode 100644 index 00000000..2e5b9e5b --- /dev/null +++ b/core/modules/x11vnc-src/module.conf @@ -0,0 +1,5 @@ +REQUIRED_DEB_URL="http://archive.ubuntu.com/ubuntu/pool/universe/x/x11vnc/x11vnc_0.9.13.orig.tar.gz" + +REQUIRED_BINARIES=" + x11vnc +" diff --git a/core/targets/bwlp/x11vnc b/core/targets/bwlp/x11vnc index eb755d19..61c1bfbd 120000 --- a/core/targets/bwlp/x11vnc +++ b/core/targets/bwlp/x11vnc @@ -1 +1 @@ -../../modules/x11vnc
\ No newline at end of file +../../modules/x11vnc-src
\ No newline at end of file |