diff options
author | Pierre Cazenave <pwcazenave {at} gmail {dot} com> | 2010-05-13 00:35:01 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:35:01 +0200 |
commit | 9b3626d29a9a7c819c08d590cc8897ce9838189c (patch) | |
tree | 411061f6b4d97c4d4074431eaa2b6adfd59dc8a6 /multimedia/mjpegtools/mjpegtools.SlackBuild | |
parent | 7d8020e17aace1003294af8c0757c6808e8b1783 (diff) | |
download | slackbuilds-9b3626d29a9a7c819c08d590cc8897ce9838189c.tar.gz |
multimedia/mjpegtools: Updated for version 1.9.0
Diffstat (limited to 'multimedia/mjpegtools/mjpegtools.SlackBuild')
-rw-r--r-- | multimedia/mjpegtools/mjpegtools.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/multimedia/mjpegtools/mjpegtools.SlackBuild b/multimedia/mjpegtools/mjpegtools.SlackBuild index e5a9c0719d..e7397670d2 100644 --- a/multimedia/mjpegtools/mjpegtools.SlackBuild +++ b/multimedia/mjpegtools/mjpegtools.SlackBuild @@ -1,8 +1,7 @@ #!/bin/sh # Slackware build script for mjpegtools 11/01/2009 -# Updated for Slackware64 28/05/2009 -# + # Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com> # All rights reserved. # @@ -26,7 +25,7 @@ PRGNAM=mjpegtools VERSION=1.9.0 ARCH=${ARCH:-i486} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -56,6 +55,9 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R a-s,u+w,go+r-w . +# Fix for x86_64 +sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -91,12 +93,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ AUTHORS BUGS CHANGES COPYING ChangeLog HINTS INSTALL* \ NEWS PLANS README TODO docs/FAQ.txt \ - $PKG/usr/doc/$PRGNAM-$VERSION/ + $PKG/usr/doc/$PRGNAM-$VERSION/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README$TAG 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} |