wok-current annotate x11vnc/receipt @ rev 22614
updated connman, connman-dev and connman-tools (1.21 -> 1.37)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jan 11 17:07:11 2020 +0100 (2020-01-11) |
parents | 9e01bc6321ea |
children | 1ab5f2d42d60 |
rev | line source |
---|---|
pascal@699 | 1 # SliTaz package receipt. |
pascal@699 | 2 |
pascal@699 | 3 PACKAGE="x11vnc" |
Hans-G?nter@22143 | 4 VERSION="0.9.16" |
pascal@699 | 5 CATEGORY="network" |
Hans-G?nter@22143 | 6 TAGS="vnc server" |
Hans-G?nter@22143 | 7 SHORT_DESC="VNC server for real X displays." |
pascal@699 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14850 | 9 LICENSE="GPL2" |
Hans-G?nter@22143 | 10 WEB_SITE="http://www.karlrunge.com/x11vnc/" |
Hans-G?nter@22143 | 11 |
pascal@699 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22143 | 13 WGET_URL="https://github.com/LibVNC/$PACKAGE/archive/$VERSION.tar.gz" |
Hans-G?nter@22143 | 14 |
Hans-G?nter@22143 | 15 DEPENDS="jpeg libvncserver openssl xorg-libXdamage xorg-libXtst zlib" |
Hans-G?nter@22143 | 16 BUILD_DEPENDS="autoconf jpeg-dev libvncserver-dev openssl-dev" |
Hans-G?nter@22143 | 17 |
pankso@16290 | 18 HOST_ARCH="i486 arm" |
pascal@10455 | 19 |
pascal@699 | 20 # Rules to configure and make the package. |
pascal@699 | 21 compile_rules() |
pascal@699 | 22 { |
Hans-G?nter@22143 | 23 ./autogen.sh \ |
Hans-G?nter@22143 | 24 --prefix=/usr \ |
pascal@1847 | 25 $CONFIGURE_ARGS && |
pascal@1847 | 26 make && |
pascal@14850 | 27 make -j1 DESTDIR=$DESTDIR install && |
pascal@14850 | 28 echo rm -rf $DESTDIR/usr/share/applications |
pascal@699 | 29 } |
pascal@699 | 30 |
pascal@699 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@699 | 32 genpkg_rules() |
pascal@699 | 33 { |
Hans-G?nter@22143 | 34 mkdir -p $fs/usr/bin |
Hans-G?nter@22143 | 35 mkdir -p $fs/etc/init.d |
Hans-G?nter@22143 | 36 |
Hans-G?nter@22143 | 37 cp -a $install/usr/bin/x11vnc $fs/usr/bin |
Hans-G?nter@22143 | 38 cp -a $stuff/x11vnc $fs/etc/init.d |
pascal@699 | 39 } |
pascal@699 | 40 |
Hans-G?nter@22143 | 41 # Post install commands for Tazpkg. |
pascal@699 | 42 post_install() |
pascal@699 | 43 { |
pascal@18730 | 44 grep -q "^X11VNC" "$1/etc/daemons.conf" || cat >> "$1/etc/daemons.conf" <<EOT |
pascal@699 | 45 # VNC server options. |
pascal@17538 | 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" |
pascal@699 | 47 |
pascal@699 | 48 EOT |
pascal@18730 | 49 [ -f "$1/etc/vnc.secret" ] || |
pascal@18730 | 50 chroot "$1/" x11vnc -storepasswd root /etc/vnc.secret |
pascal@699 | 51 } |