diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-07-08 14:28:28 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-07-08 14:28:32 +0200 |
commit | 9edc33e91cc13c75d6d411456604c5b9f1ef7ce2 (patch) | |
tree | 31944d37ac7644c88d0b48425e1a06bae5bb96ff /testing/x11vnc | |
parent | 4bb701b33ac7e53565ced79d17c857286acadc00 (diff) | |
download | aports-9edc33e91cc13c75d6d411456604c5b9f1ef7ce2.tar.bz2 aports-9edc33e91cc13c75d6d411456604c5b9f1ef7ce2.tar.xz |
testing/x11vnc: new aport
Diffstat (limited to 'testing/x11vnc')
-rw-r--r-- | testing/x11vnc/APKBUILD | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/testing/x11vnc/APKBUILD b/testing/x11vnc/APKBUILD new file mode 100644 index 0000000000..21bed143d7 --- /dev/null +++ b/testing/x11vnc/APKBUILD @@ -0,0 +1,52 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=x11vnc +pkgver=0.9.13 +pkgrel=0 +pkgdesc="VNC server for real X displays" +url="http://www.karlrunge.com/x11vnc/" +arch="all" +license="GPL2" +depends="" +depends_dev="openssl-dev libjpeg-turbo-dev libxtst-dev libxinerama-dev libxdamage-dev + libxrandr-dev avahi-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://cznic.dl.sourceforge.net/project/libvncserver/x11vnc/$pkgver/x11vnc-$pkgver.tar.gz" + +_builddir="$srcdir"/x11vnc-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + update_config_sub || return 1 +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make -j1 DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="a372ec4fe8211221547b1c108cf56e4c x11vnc-0.9.13.tar.gz" +sha256sums="f6829f2e629667a5284de62b080b13126a0736499fe47cdb447aedb07a59f13b x11vnc-0.9.13.tar.gz" +sha512sums="7b24e495f29122032e1c8ced7f7d8e0a56a2a8263e761a50725320742c99a0fcd5680d13038dd5d47e1c05d3b889d0caa13ba0b1aeda6fa42d5fb5ef3c43f908 x11vnc-0.9.13.tar.gz" |