summaryrefslogtreecommitdiff
path: root/multimedia/wxcam/wxcam.SlackBuild
diff options
context:
space:
mode:
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