summaryrefslogtreecommitdiff
path: root/multimedia/wxcam/wxcam.SlackBuild
diff options
context:
space:
mode:
authorPierre Cazenave <pwcazenaveatgmaildotcom>2012-05-01 11:58:48 -0400
committerErik Hanson <erik@slackbuilds.org>2012-05-07 12:18:05 -0500
commit4976c412898cbbc696321edd6c6ac6320e00d472 (patch)
tree80457a167d8196747e1d145115cf544472dfe3c5 /multimedia/wxcam/wxcam.SlackBuild
parentb6dfe80dd5693d3058388de33f7beab73fb6f3da (diff)
downloadslackbuilds-4976c412898cbbc696321edd6c6ac6320e00d472.tar.gz
multimedia/wxcam: Updated for version 1.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'multimedia/wxcam/wxcam.SlackBuild')
-rw-r--r--multimedia/wxcam/wxcam.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/multimedia/wxcam/wxcam.SlackBuild b/multimedia/wxcam/wxcam.SlackBuild
index 41ce900ec4..91e4fcd909 100644
--- a/multimedia/wxcam/wxcam.SlackBuild
+++ b/multimedia/wxcam/wxcam.SlackBuild
@@ -5,8 +5,9 @@
# Updated for Slackware64 28/05/2009
# Updated for version 1.0.4 27/07/2009
# Updated for version 1.0.7 01/01/2011
+# Updated for version 1.1 18/03/2012
#
-# Copyright 2009-2011 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
+# Copyright 2009-2012 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,16 +28,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=wxcam
-VERSION=1.0.7
+VERSION=1.1
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
@@ -82,7 +81,7 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make wxcamdocdir=/usr/doc/$PRGNAM-$VERSION
-make install wxcamdocdir=/usr/doc/$PRGNAM-$VERSION DESTDIR=$PKG
+make install wxcamdocdir=/usr/doc/$PRGNAM-$VERSION 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