# SliTaz package receipt. PACKAGE="x11vnc" VERSION="0.9.12" CATEGORY="network" SHORT_DESC="VNC server using X server" MAINTAINER="pascal.bellard@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.karlrunge.com/x11vnc/" WGET_URL="$SF_MIRROR/libvncserver/$TARBALL" DEPENDS="xorg-libXtst openssl slitaz-base-files jpeg xorg-libXdamage zlib" BUILD_DEPENDS="openssl-dev" # Rules to configure and make the package. compile_rules() { cd $src ./configure --prefix=/usr \ $CONFIGURE_ARGS && make && make -j1 DESTDIR=$src/_pkg install && echo rm -rf $src/_pkg/usr/share/applications } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin $fs/usr/share $fs/etc/init.d cp -a $_pkg/usr/bin/x11vnc $fs/usr/bin cp -a stuff/x11vnc $fs/etc/init.d } # Post install/remove commands for Tazpkg. post_install() { grep -q "^X11VNC" $1/etc/daemons.conf || cat >>$1/etc/daemons.conf <