summaryrefslogtreecommitdiff
path: root/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2010-06-12 04:54:33 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-12 07:47:27 -0500
commitad232630a20a87143795e3f80749afeaf1c7021b (patch)
tree64dcc892c519a4358bc85420097984a4b3b61c29 /multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild
parentf6aed873a7c754d4c5516a48a77a1a4270016f09 (diff)
downloadslackbuilds-ad232630a20a87143795e3f80749afeaf1c7021b.tar.gz
multimedia/gst-plugins-bad: Updated for version 0.10.18.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild')
-rw-r--r--multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild24
1 files changed, 13 insertions, 11 deletions
diff --git a/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild b/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild
index 8cc42fd5e7..9d6c3e84ab 100644
--- a/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild
+++ b/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild
@@ -1,6 +1,8 @@
#!/bin/sh
# Slackware build script for gst-plugins-bad
+
+# Copyright 2007-2010 Michiel van Wessem, Manchester, United Kingdom
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -23,7 +25,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gst-plugins-bad
-VERSION=${VERSION:-0.10.13}
+VERSION=${VERSION:-0.10.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,22 +44,22 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-set -e
-
if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
+set -e # Exit on most errors
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -85,8 +87,8 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ABOUT-NLS AUTHORS COPYING* ChangeLog INSTALL NEWS README RELEASE \
- REQUIREMENTS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING* ChangeLog INSTALL NEWS README RELEASE REQUIREMENTS \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install