diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2010-05-13 00:28:14 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-13 00:28:14 +0200 |
commit | e90078741ee74cda0fd85f97566a901a8f024902 (patch) | |
tree | ce5f9d907b7f8906281ae1996df3a566c3ac568c /graphics/rawstudio/rawstudio.SlackBuild | |
parent | 3925e3cbdcf5f3e8607e543c35510b3c1a541269 (diff) | |
download | slackbuilds-e90078741ee74cda0fd85f97566a901a8f024902.tar.gz |
graphics/rawstudio: Updated for version 1.2
Diffstat (limited to 'graphics/rawstudio/rawstudio.SlackBuild')
-rw-r--r-- | graphics/rawstudio/rawstudio.SlackBuild | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/graphics/rawstudio/rawstudio.SlackBuild b/graphics/rawstudio/rawstudio.SlackBuild index d3c248261a..2bea0000d0 100644 --- a/graphics/rawstudio/rawstudio.SlackBuild +++ b/graphics/rawstudio/rawstudio.SlackBuild @@ -3,7 +3,7 @@ # Slackware Package Build Script for rawstudio # Home Page http://rawstudio.org/ -# Copyright (c) 2007, Nishant Limbachia (nishant@mnspace.net) +# Copyright (c) 2007-2009, Nishant Limbachia, Hoffman Est, IL, USA (nishant@mnspace.net) # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -40,10 +40,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 set -e # Exit on most errors @@ -65,6 +68,7 @@ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --mandir=/usr/man \ --build=$ARCH-slackware-linux @@ -72,15 +76,9 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -# Move the rawstudio primary icon to /usr/share/pixmaps toplevel dir -mv $PKG/usr/share/icons/rawstudio.png $PKG/usr/share/pixmaps -rmdir $PKG/usr/share/icons - ( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null ) ( cd $PKG/usr/man @@ -90,11 +88,11 @@ rmdir $PKG/usr/share/icons mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \ - pixmaps/artwork.license $PKG/usr/doc/$PRGNAM-$VERSION + pixmaps/artwork.license $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh 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} |