summaryrefslogtreecommitdiff
path: root/libraries/fox-toolkit/fox-toolkit.SlackBuild
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/fox-toolkit.SlackBuild
parent46e901c28c540ce98ce24eccfdddbf625e242001 (diff)
downloadslackbuilds-f6ae92dc34d5017898450ecd3a0a8005ecb599ed.tar.gz
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/fox-toolkit.SlackBuild')
-rw-r--r--libraries/fox-toolkit/fox-toolkit.SlackBuild26
1 files changed, 17 insertions, 9 deletions
diff --git a/libraries/fox-toolkit/fox-toolkit.SlackBuild b/libraries/fox-toolkit/fox-toolkit.SlackBuild
index 03059b76b4..0377a334ea 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