wok diff x11vnc/receipt @ rev 22345

tcc, unfs3: race condition
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 17 20:40:16 2019 +0100 (2019-11-17)
parents 9e01bc6321ea
children 1ab5f2d42d60
line diff
     1.1 --- a/x11vnc/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.2 +++ b/x11vnc/receipt	Sun Nov 17 20:40:16 2019 +0100
     1.3 @@ -1,24 +1,27 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="x11vnc"
     1.7 -VERSION="0.9.13"
     1.8 +VERSION="0.9.16"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="VNC server using X server"
    1.11 +TAGS="vnc server"
    1.12 +SHORT_DESC="VNC server for real X displays."
    1.13  MAINTAINER="pascal.bellard@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15 +WEB_SITE="http://www.karlrunge.com/x11vnc/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://www.karlrunge.com/x11vnc/"
    1.19 -WGET_URL="$SF_MIRROR/libvncserver/$TARBALL"
    1.20 -TAGS="vnc server"
    1.21 +WGET_URL="https://github.com/LibVNC/$PACKAGE/archive/$VERSION.tar.gz"
    1.22 +
    1.23 +DEPENDS="jpeg libvncserver openssl xorg-libXdamage xorg-libXtst zlib"
    1.24 +BUILD_DEPENDS="autoconf jpeg-dev libvncserver-dev openssl-dev"
    1.25 +
    1.26  HOST_ARCH="i486 arm"
    1.27  
    1.28 -DEPENDS="xorg-libXtst openssl jpeg xorg-libXdamage zlib"
    1.29 -BUILD_DEPENDS="openssl-dev jpeg-dev"
    1.30 -
    1.31  # Rules to configure and make the package.
    1.32  compile_rules()
    1.33  {
    1.34 -	./configure --prefix=/usr \
    1.35 +	./autogen.sh		\
    1.36 +		--prefix=/usr	\
    1.37  		$CONFIGURE_ARGS &&
    1.38  	make &&
    1.39  	make -j1 DESTDIR=$DESTDIR install &&
    1.40 @@ -28,12 +31,14 @@
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42  genpkg_rules()
    1.43  {
    1.44 -	mkdir -p $fs/usr/bin $fs/etc/init.d
    1.45 -	cp -a $install/usr/bin/x11vnc $fs/usr/bin
    1.46 -	cp -a $stuff/x11vnc $fs/etc/init.d
    1.47 +	mkdir -p $fs/usr/bin
    1.48 +	mkdir -p $fs/etc/init.d
    1.49 +
    1.50 +	cp -a $install/usr/bin/x11vnc	$fs/usr/bin
    1.51 +	cp -a $stuff/x11vnc		$fs/etc/init.d
    1.52  }
    1.53  
    1.54 -# Post install/remove commands for Tazpkg.
    1.55 +# Post install commands for Tazpkg.
    1.56  post_install()
    1.57  {
    1.58  	grep -q "^X11VNC" "$1/etc/daemons.conf" || cat >> "$1/etc/daemons.conf" <<EOT
    1.59 @@ -44,4 +49,3 @@
    1.60  	[ -f "$1/etc/vnc.secret" ] || 
    1.61  	chroot "$1/" x11vnc -storepasswd root /etc/vnc.secret
    1.62  }
    1.63 -