wok-current view x11vnc/receipt @ rev 16834

Add oxygen-gtk, oxygen-icons.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jul 12 16:57:27 2014 +0300 (2014-07-12)
parents d488dfb85c26
children dd6cfeea0048
line source
1 # SliTaz package receipt.
3 PACKAGE="x11vnc"
4 VERSION="0.9.12"
5 CATEGORY="network"
6 SHORT_DESC="VNC server using X server"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.karlrunge.com/x11vnc/"
11 WGET_URL="$SF_MIRROR/libvncserver/$TARBALL"
12 TAGS="vnc server"
13 HOST_ARCH="i486 arm"
15 DEPENDS="xorg-libXtst openssl jpeg xorg-libXdamage zlib"
16 BUILD_DEPENDS="openssl-dev jpeg-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 make -j1 DESTDIR=$DESTDIR install &&
25 echo rm -rf $DESTDIR/usr/share/applications
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin $fs/etc/init.d
32 cp -a $install/usr/bin/x11vnc $fs/usr/bin
33 cp -a $stuff/x11vnc $fs/etc/init.d
34 }
36 # Post install/remove commands for Tazpkg.
37 post_install()
38 {
39 grep -q "^X11VNC" $1/etc/daemons.conf || cat >>$1/etc/daemons.conf <<EOT
40 # VNC server options.
41 X11VNC_OPTIONS="-rfbauth /etc/vnc.secret -loop -tightfilexfer -permitfiletransfer -display :0"
43 EOT
44 [ -f $1/etc/vnc.secret ] ||
45 chroot $1/ x11vnc -storepasswd root /etc/vnc.secret
46 }