diff options
author | Tuan M. Hoang <tmhoang@flatglobe.org> | 2017-03-24 17:23:44 -0400 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-03-28 10:10:56 +0000 |
commit | 1317ce75e4afeb4f931dd686ebc366f293b883f7 (patch) | |
tree | 9b476dabdcfdb8eb88cd77f7827ebaf96aaba763 /testing/x11vnc/APKBUILD | |
parent | 41e33f3dd86879cc787cfbcbe67867adfafd801e (diff) | |
download | aports-1317ce75e4afeb4f931dd686ebc366f293b883f7.tar.bz2 aports-1317ce75e4afeb4f931dd686ebc366f293b883f7.tar.xz |
testing/x11vnc: move from unmaintained, take maintainership
Diffstat (limited to 'testing/x11vnc/APKBUILD')
-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..aeeb358806 --- /dev/null +++ b/testing/x11vnc/APKBUILD @@ -0,0 +1,52 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: Tuan M. Hoang <tmhoang@flatglobe.org> +pkgname=x11vnc +pkgver=0.9.14 +pkgrel=0 +pkgdesc="VNC server for real X displays" +url="http://www.karlrunge.com/x11vnc/" +arch="all" +license="GPL2" +depends="" +makedepends="libressl-dev libjpeg-turbo-dev avahi-dev libvncserver-dev + automake autoconf" +install="" +subpackages="$pkgname-doc" +source="x11vnc-$pkgver.tar.gz::https://github.com/LibVNC/x11vnc/archive/$pkgver.tar.gz + libressl.patch + " + +_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" + autoreconf -v --install + ./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 +} + +sha512sums="5d18e5ff493fbc4f6f1efe952812c1acd3087e855a2a9f2c99f3b2606cfa40a20b83e2d0c736e12b453b47f7ff7746069a1b6718d842d1a8f73b00d5c4c4a93f x11vnc-0.9.14.tar.gz +5e797f86717f312bb3d227df6b1493723bde4fae8c16591334237701ab0e43a550391aba4b82435d301e95b7cc2050315537549ca717eed3156475c27b8c5ad6 libressl.patch" |