summaryrefslogtreecommitdiff
path: root/libraries/fox-toolkit/fox-toolkit.SlackBuild
diff options
context:
space:
mode:
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