summaryrefslogtreecommitdiff
path: root/multimedia/gst-plugins-good/gst-plugins-good.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/gst-plugins-good/gst-plugins-good.SlackBuild')
-rw-r--r--multimedia/gst-plugins-good/gst-plugins-good.SlackBuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/multimedia/gst-plugins-good/gst-plugins-good.SlackBuild b/multimedia/gst-plugins-good/gst-plugins-good.SlackBuild
index 359f231821..cae9bb89fc 100644
--- a/multimedia/gst-plugins-good/gst-plugins-good.SlackBuild
+++ b/multimedia/gst-plugins-good/gst-plugins-good.SlackBuild
@@ -24,7 +24,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gst-plugins-good
-VERSION=0.10.13
+VERSION=${VERSION:-0.10.15}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -38,11 +38,14 @@ OUTPUT=${OUTPUT:-/tmp}
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 +65,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@@ -81,4 +85,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}