diff options
author | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-13 00:34:52 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:34:52 +0200 |
commit | bc7f310c58e3f70955f932b6a55c266487b772ec (patch) | |
tree | 679b36859aa87d1ea7a86816a3382dd364f4ab3c /multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild | |
parent | cf78ad2bee678ef5e14488a2fe368adb8426e275 (diff) | |
download | slackbuilds-bc7f310c58e3f70955f932b6a55c266487b772ec.tar.gz |
multimedia/gst-plugins-bad: Updated for version 0.10.13
Diffstat (limited to 'multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild')
-rw-r--r-- | multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild b/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild index 14b621e0ce..09595f72b5 100644 --- a/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild +++ b/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild @@ -1,7 +1,6 @@ #!/bin/sh # Slackware build script for gst-plugins-bad -# Written by Michiel van Wessem <michiel@slackbuilds.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -24,7 +23,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gst-plugins-bad -VERSION=0.10.9 +VERSION=${VERSION:-0.10.13} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -34,15 +33,17 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -# Exit on most errors set -e if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi rm -rf $PKG @@ -62,6 +63,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ @@ -79,4 +81,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |