aboutsummaryrefslogtreecommitdiff
path: root/libraries/fox-toolkit
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2011-03-25 14:57:42 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-03-25 23:26:50 -0500
commitf6ae92dc34d5017898450ecd3a0a8005ecb599ed (patch)
tree0fe66e11cfc16bf275b57ea5c22c5dce0d1452c1 /libraries/fox-toolkit
parent46e901c28c540ce98ce24eccfdddbf625e242001 (diff)
libraries/fox-toolkit: Updated for version 1.6.43.
This commit also fixes some issues with manpages and docs. Thanks to Mikhail Zotov for the manpage fixes. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/fox-toolkit')
-rw-r--r--libraries/fox-toolkit/fox-toolkit.SlackBuild26
-rw-r--r--libraries/fox-toolkit/fox-toolkit.info6
-rw-r--r--libraries/fox-toolkit/slack-desc2
3 files changed, 21 insertions, 13 deletions
diff --git a/libraries/fox-toolkit/fox-toolkit.SlackBuild b/libraries/fox-toolkit/fox-toolkit.SlackBuild
index 03059b76b4fa0..0377a334ea969 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,2008,2009,2010 Robby Workman, Northport, AL, USA
+# Copyright 2006-2011 Robby Workman, Northport, AL, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fox-toolkit
-VERSION=1.6.37
-BUILD=${BUILD:-2}
+VERSION=1.6.43
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -64,6 +64,8 @@ else
LIBDIRSUFFIX=""
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -90,24 +92,30 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --mandir=/usr/man \
--enable-static=no \
--with-opengl=${do_opengl} \
- --enable-threadsafe \
--with-xft \
--enable-release \
--build=$ARCH-slackware-linux
-make
-make install DESTDIR=$PKG
+make \
+ htmldir=/usr/doc/$PRGNAM-$VERSION/html \
+ artdir=/usr/doc/$PRGNAM-$VERSION/html/art \
+ screenshotsdir=/usr/doc/$PRGNAM-$VERSION/html/screenshots
+make install \
+ htmldir=/usr/doc/$PRGNAM-$VERSION/html \
+ artdir=/usr/doc/$PRGNAM-$VERSION/html/art \
+ screenshotsdir=/usr/doc/$PRGNAM-$VERSION/html/screenshots \
+ DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/usr/doc
-mv $PKG/usr/share/doc/fox-1.6 $PKG/usr/doc/$PRGNAM-$VERSION
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+
cp -a ADDITIONS AUTHORS INSTALL LICENSE LICENSE_ADDENDUM README TRACING \
$PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKG/usr/share
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/fox-toolkit/fox-toolkit.info b/libraries/fox-toolkit/fox-toolkit.info
index c0d6428b326af..5c9d725c7d9c7 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.37"
+VERSION="1.6.43"
HOMEPAGE="http://www.fox-toolkit.org/"
-DOWNLOAD="http://www.fox-toolkit.org/ftp/fox-1.6.37.tar.gz"
-MD5SUM="e499e62c3ac4ef82a032bc67fa87f9af"
+DOWNLOAD="http://www.fox-toolkit.org/ftp/fox-1.6.43.tar.gz"
+MD5SUM="4c6a322a8117420e417daeec8fbfeba5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Robby Workman"
diff --git a/libraries/fox-toolkit/slack-desc b/libraries/fox-toolkit/slack-desc
index 4ea42c074ec0a..76cfac797afd7 100644
--- a/libraries/fox-toolkit/slack-desc
+++ b/libraries/fox-toolkit/slack-desc
@@ -7,7 +7,7 @@
|-----handy-ruler------------------------------------------------------|
fox-toolkit: fox-toolkit (FOX C++ Graphical Toolkit)
-fox-toolkit:
+fox-toolkit:
fox-toolkit: FOX is a C++ based Toolkit for developing Graphical User
fox-toolkit: Interfaces easily and effectively. The FOX toolkit is fast
fox-toolkit: and memory-efficient and has a large selection of Controls