diff options
author | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-12 17:40:03 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 17:40:03 +0200 |
commit | d2fe3a7a7e5d2ce844087d7cc196d97a3dc3bb59 (patch) | |
tree | e2f9601aafa82b93023d59684c05e1d42714e1bc /graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild | |
parent | 1c1db15ebcecb3c4e42fc3e4ab178f32bc819744 (diff) | |
download | slackbuilds-d2fe3a7a7e5d2ce844087d7cc196d97a3dc3bb59.tar.gz |
graphics/raw-thumbnailer: Updated for version 0.2
Diffstat (limited to 'graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild')
-rw-r--r-- | graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild b/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild index ebd6252023..507e0b964d 100644 --- a/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild +++ b/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild @@ -1,8 +1,7 @@ #!/bin/sh # Slackware build script for raw-thumbnailer - -# Copyright 2008 Michiel van Wessem <michiel@slackbuilds.org> +# Copyright 2007-2009 Michiel van Wessem, Manchester, United Kingdom # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -25,7 +24,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=raw-thumbnailer -VERSION=0.1 +VERSION=${VERSION:-0.2} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -47,7 +46,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -59,10 +58,15 @@ find . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ - --prefix=/usr + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG +make install-strip DESTDIR=$PKG ( cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null @@ -70,8 +74,7 @@ make install DESTDIR=$PKG ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING INSTALL ChangeLog NEWS README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING INSTALL ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |