diff options
-rw-r--r-- | network/x11vnc/slack-desc | 4 | ||||
-rw-r--r-- | network/x11vnc/x11vnc.SlackBuild | 27 | ||||
-rw-r--r-- | network/x11vnc/x11vnc.info | 8 |
3 files changed, 24 insertions, 15 deletions
diff --git a/network/x11vnc/slack-desc b/network/x11vnc/slack-desc index 1181fb639e..db581c9220 100644 --- a/network/x11vnc/slack-desc +++ b/network/x11vnc/slack-desc @@ -15,5 +15,5 @@ x11vnc: x11vnc: It has built-in SSL encryption and authentication, UNIX account x11vnc: and password support, server-side scaling, single port HTTPS and VNC, x11vnc: mDNS service advertising, and TightVNC and UltraVNC file-transfer. -x11vnc: -x11vnc: +x11vnc: +x11vnc: diff --git a/network/x11vnc/x11vnc.SlackBuild b/network/x11vnc/x11vnc.SlackBuild index 160212a5a1..d26563d60b 100644 --- a/network/x11vnc/x11vnc.SlackBuild +++ b/network/x11vnc/x11vnc.SlackBuild @@ -5,7 +5,8 @@ # Updated for version 0.9.6 21/11/2008 # Updated for Slackware64 and version 0.9.7 28/05/2009 # Updated for version 0.9.8 22/11/2009 -# +# Updated for version 0.9.10 23/05/2010 + # Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com> # Modified by Robby Workman <rworkman@slackbuilds.org> # @@ -29,11 +30,20 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=x11vnc -VERSION=0.9.8 -ARCH=${ARCH:-i486} +VERSION=0.9.10 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i486 ;; + arm*) export ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) export ARCH=$( uname -m ) ;; + esac +fi + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -48,6 +58,9 @@ if [ "$ARCH" = "i486" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" fi rm -rf $TMP/$PRGNAM-$VERSION $PKG @@ -73,17 +86,13 @@ make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README ReleaseNotes \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README$TAG -find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \; +find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \; mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/network/x11vnc/x11vnc.info b/network/x11vnc/x11vnc.info index 302834977a..5b6def71a8 100644 --- a/network/x11vnc/x11vnc.info +++ b/network/x11vnc/x11vnc.info @@ -1,10 +1,10 @@ PRGNAM="x11vnc" -VERSION="0.9.8" +VERSION="0.9.10" HOMEPAGE="http://www.karlrunge.com/x11vnc/" -DOWNLOAD="http://downloads.sourceforge.net/libvncserver/x11vnc-0.9.8.tar.gz" -MD5SUM="13e41380fe9ba2581db180061d1cbd22" +DOWNLOAD="http://downloads.sourceforge.net/libvncserver/x11vnc-0.9.10.tar.gz" +MD5SUM="" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Pierre Cazenave" EMAIL="pwcazenave <at> gmail <dot> com" -APPROVED="Erik Hanson" +APPROVED="rworkman" |