diff options
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 e5a9c0719d24b..e7397670d2822 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} |