aboutsummaryrefslogtreecommitdiff
path: root/libraries/fox-toolkit
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-12 17:40:38 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-12 17:40:38 +0200
commite44576383d1c9b6b479aa19bdd45fcc1b93f8417 (patch)
tree3b377843268f278cfef98ee97c04cbe9bd9c6c6e /libraries/fox-toolkit
parent32d0ef6178d8c3dc61b63baeb452a19e26b003b0 (diff)
libraries/fox-toolkit: Updated for version 1.6.34
Diffstat (limited to 'libraries/fox-toolkit')
-rw-r--r--libraries/fox-toolkit/fox-toolkit.SlackBuild25
-rw-r--r--libraries/fox-toolkit/fox-toolkit.info8
2 files changed, 19 insertions, 14 deletions
diff --git a/libraries/fox-toolkit/fox-toolkit.SlackBuild b/libraries/fox-toolkit/fox-toolkit.SlackBuild
index 67d21c66ba5a..d76f18f1a25e 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
diff --git a/libraries/fox-toolkit/fox-toolkit.info b/libraries/fox-toolkit/fox-toolkit.info
index afd355c0997e..4fd5b8f1a81c 100644
--- a/libraries/fox-toolkit/fox-toolkit.info
+++ b/libraries/fox-toolkit/fox-toolkit.info
@@ -1,8 +1,8 @@
PRGNAM="fox-toolkit"
-VERSION="1.6.31"
+VERSION="1.6.34"
HOMEPAGE="http://www.fox-toolkit.org/"
-DOWNLOAD="http://www.fox-toolkit.org/ftp/fox-1.6.31.tar.gz"
-MD5SUM="3ca24ab9972223571419a13a3a4ab2f0"
+DOWNLOAD="http://www.fox-toolkit.org/ftp/fox-1.6.34.tar.gz"
+MD5SUM="920124025d6495bbd008be635ff759ad"
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
-APPROVED="BP{k}"
+APPROVED="Michiel" \ No newline at end of file