diff options
author | Robby Workman <rw@rlworkman.net> | 2010-05-12 17:40:38 +0200 |
---|---|---|
committer | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-12 17:40:38 +0200 |
commit | e44576383d1c9b6b479aa19bdd45fcc1b93f8417 (patch) | |
tree | 3b377843268f278cfef98ee97c04cbe9bd9c6c6e /libraries/fox-toolkit/fox-toolkit.SlackBuild | |
parent | 32d0ef6178d8c3dc61b63baeb452a19e26b003b0 (diff) |
libraries/fox-toolkit: Updated for version 1.6.34
Diffstat (limited to 'libraries/fox-toolkit/fox-toolkit.SlackBuild')
-rw-r--r-- | libraries/fox-toolkit/fox-toolkit.SlackBuild | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/libraries/fox-toolkit/fox-toolkit.SlackBuild b/libraries/fox-toolkit/fox-toolkit.SlackBuild index 67d21c66ba5ad..d76f18f1a25eb 100644 --- a/libraries/fox-toolkit/fox-toolkit.SlackBuild +++ b/libraries/fox-toolkit/fox-toolkit.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for fox-toolkit -# Copyright 2006-2007 Robby Workman (http://rlworkman.net) +# Copyright 2006-2009 Robby Workman (http://rlworkman.net) # 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=fox-toolkit -VERSION=1.6.31 +VERSION=1.6.34 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -43,8 +43,13 @@ OPENGL=${OPENGL:-YES} 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 rm -rf $PKG @@ -71,23 +76,23 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ --enable-static=no \ --with-opengl=${do_opengl} \ --enable-threadsafe \ --with-xft \ - --enable-release + --enable-release \ + --build=$ARCH-slackware-linux make make install DESTDIR=$PKG ( 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 -) - -( 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 + 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 ) mkdir -p $PKG/usr/doc |