diff options
author | Frank Caraballo <fecaraballo{at}gmail{dot}com> | 2010-05-12 17:37:50 +0200 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-05-12 17:37:50 +0200 |
commit | 7ca280a5973da3a38c87ee28336cd9aca1c8d444 (patch) | |
tree | fb617c49cddea179990b9e81b261c8a5a2cb3070 /desktop/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild | |
parent | fa123bf435a9337f226a629bb29d10c6d0ea175c (diff) | |
download | slackbuilds-7ca280a5973da3a38c87ee28336cd9aca1c8d444.tar.gz |
desktop/ffmpegthumbnailer: Updated for version 1.5.0
Diffstat (limited to 'desktop/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild')
-rw-r--r-- | desktop/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/desktop/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild b/desktop/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild index 3d43f41cee..bcc338478a 100644 --- a/desktop/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild +++ b/desktop/ffmpegthumbnailer/ffmpegthumbnailer.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for FFmpegthumbnailer -# Copyright 2007-2008 Frank Caraballo <fecaraballo{at}gmail{dot}com> +# Copyright 2007-2009 Frank Caraballo <fecaraballo{at}gmail{dot}com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ffmpegthumbnailer -VERSION=1.2.6 +VERSION=${VERSION:-1.5.0} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -33,8 +33,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README TODO" - if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then @@ -47,9 +45,8 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP || exit 1 rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* || exit 1 cd $PRGNAM-$VERSION || exit 1 - chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -63,22 +60,24 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ - --program-prefix="" \ - --program-suffix="" \ - --enable-shared=yes \ + --mandir=/usr/man \ --enable-static=no \ --disable-largefile \ + --build=$ARCH-slackware-linux \ || exit 1 make || exit 1 make install-strip DESTDIR=$PKG || exit 1 +( cd $PKG/usr/man + find . -type f -exec gzip -9 {} \; + for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +) + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \; - -find $PKG -type f -size 0c -exec rm {} \; 2>/dev/null mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |