summaryrefslogtreecommitdiff
path: root/multimedia/dvdauthor/dvdauthor.SlackBuild
diff options
context:
space:
mode:
authorBrian Reichert <rignes@pobox.com>2010-05-13 00:34:38 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-13 00:34:38 +0200
commit7d8c02ab969218ed80dc79f5c9e4d7e8015aa2bf (patch)
tree0de9e5e93432e12cb35ec16fb645d3c4606494e0 /multimedia/dvdauthor/dvdauthor.SlackBuild
parent313d6a1a39a6c099f67d1aa6ca199094994a03c0 (diff)
downloadslackbuilds-7d8c02ab969218ed80dc79f5c9e4d7e8015aa2bf.tar.gz
multimedia/dvdauthor: Updated for version 0.6.14
Diffstat (limited to 'multimedia/dvdauthor/dvdauthor.SlackBuild')
-rw-r--r--multimedia/dvdauthor/dvdauthor.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/multimedia/dvdauthor/dvdauthor.SlackBuild b/multimedia/dvdauthor/dvdauthor.SlackBuild
index 147310017e..d014590f23 100644
--- a/multimedia/dvdauthor/dvdauthor.SlackBuild
+++ b/multimedia/dvdauthor/dvdauthor.SlackBuild
@@ -27,6 +27,7 @@ VERSION=0.6.14
ARCH=${ARCH:-i486}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -36,8 +37,13 @@ PDOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README TODO"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
rm -rf $PKG
@@ -53,6 +59,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib$LIBDIRSUFFIX \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@@ -74,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}