wok-current view x11vnc/receipt @ rev 23278

updated pari and pari-dev (2.11.2 -> 2.11.3)
author Hans-G?nter Theisgen
date Sat Mar 28 16:53:31 2020 +0100 (2020-03-28)
parents 9e01bc6321ea
children 1ab5f2d42d60
line source
1 # SliTaz package receipt.
3 PACKAGE="x11vnc"
4 VERSION="0.9.16"
5 CATEGORY="network"
6 TAGS="vnc server"
7 SHORT_DESC="VNC server for real X displays."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://www.karlrunge.com/x11vnc/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/LibVNC/$PACKAGE/archive/$VERSION.tar.gz"
15 DEPENDS="jpeg libvncserver openssl xorg-libXdamage xorg-libXtst zlib"
16 BUILD_DEPENDS="autoconf jpeg-dev libvncserver-dev openssl-dev"
18 HOST_ARCH="i486 arm"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./autogen.sh \
24 --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make &&
27 make -j1 DESTDIR=$DESTDIR install &&
28 echo rm -rf $DESTDIR/usr/share/applications
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 mkdir -p $fs/etc/init.d
37 cp -a $install/usr/bin/x11vnc $fs/usr/bin
38 cp -a $stuff/x11vnc $fs/etc/init.d
39 }
41 # Post install commands for Tazpkg.
42 post_install()
43 {
44 grep -q "^X11VNC" "$1/etc/daemons.conf" || cat >> "$1/etc/daemons.conf" <<EOT
45 # VNC server options.
46 X11VNC_OPTIONS="-rfbauth /etc/vnc.secret -auth /var/run/slim.auth -allow 10.,192.168.,127.0.0.1 -forever -loop -tightfilexfer -permitfiletransfer -display :0"
48 EOT
49 [ -f "$1/etc/vnc.secret" ] ||
50 chroot "$1/" x11vnc -storepasswd root /etc/vnc.secret
51 }