summaryrefslogtreecommitdiff
path: root/network/x11vnc/x11vnc.SlackBuild
diff options
context:
space:
mode:
authorPierre Cazenave <pwcazenave at gmail dot com>2011-05-18 14:22:49 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-05-18 14:22:49 -0500
commit34827221b9229e090323d22c63ac674a3e4e0f99 (patch)
tree0fe6ab833f1e04dd62c777107a78cdaa2abad505 /network/x11vnc/x11vnc.SlackBuild
parentd9c3239d6a3ca214324f7c2c95b8f2d4eb5e105b (diff)
downloadslackbuilds-34827221b9229e090323d22c63ac674a3e4e0f99.tar.gz
network/x11vnc: Updated for version 0.9.12.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/x11vnc/x11vnc.SlackBuild')
-rw-r--r--network/x11vnc/x11vnc.SlackBuild19
1 files changed, 10 insertions, 9 deletions
diff --git a/network/x11vnc/x11vnc.SlackBuild b/network/x11vnc/x11vnc.SlackBuild
index 9874a852fb..a99177964d 100644
--- a/network/x11vnc/x11vnc.SlackBuild
+++ b/network/x11vnc/x11vnc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackbuild for x11vnc.
# Original script for version 0.9.3 10/11/2007
@@ -6,9 +6,9 @@
# 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
+# Updated for version 0.9.12 30/04/2011 Thanks to crocket.
# Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
-# Modified by Robby Workman <rworkman@slackbuilds.org>
#
# All rights reserved.
#
@@ -30,16 +30,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=x11vnc
-VERSION=0.9.10
+VERSION=0.9.12
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -63,6 +61,8 @@ else
LIBDIRSUFFIX=""
fi
+set -e
+
rm -rf $TMP/$PRGNAM-$VERSION $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -78,7 +78,8 @@ CFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --disable-static
+ --disable-static \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
@@ -89,10 +90,10 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
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
+cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \;
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} +
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc