summaryrefslogtreecommitdiff
path: root/desktop/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild
diff options
context:
space:
mode:
authorFrank Caraballo <fecaraballo{at}gmail{dot}com>2010-05-13 00:22:38 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:22:38 +0200
commit8f61a76668f5162882ba3fffde4ddd68cda7a46a (patch)
tree262da2a0a65dd8291ecab450c39babda2e663ffe /desktop/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild
parent11908a9dd8047857ead3bb9292e78c2ef5651aea (diff)
downloadslackbuilds-8f61a76668f5162882ba3fffde4ddd68cda7a46a.tar.gz
desktop/ffmpegthumbnailer: Updated for version 1.5.6
Diffstat (limited to 'desktop/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild')
-rw-r--r--desktop/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/desktop/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild b/desktop/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild
index bcc338478a..c3b1fa600b 100644
--- a/desktop/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild
+++ b/desktop/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ffmpegthumbnailer
-VERSION=${VERSION:-1.5.0}
+VERSION=${VERSION:-1.5.6}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
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
@@ -58,6 +61,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib$LIBDIRSUFFIX \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@@ -83,4 +87,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}