summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-11 19:44:58 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 19:44:58 +0200
commitcbe13f3a369ca5f2ca318578ea02d40f3ac8fede (patch)
treebba26f8d56af2ac4b13a79afdc81df5910a7a100
parentc9736f4e6fdecd130e41c1fdbad00d146593b4e9 (diff)
downloadslackbuilds-cbe13f3a369ca5f2ca318578ea02d40f3ac8fede.tar.gz
libraries/fox-toolkit: Updated for version 1.6.31
-rw-r--r--libraries/fox-toolkit/README1
-rw-r--r--libraries/fox-toolkit/fox-toolkit.SlackBuild25
-rw-r--r--libraries/fox-toolkit/fox-toolkit.info10
-rw-r--r--libraries/fox-toolkit/slack-desc18
4 files changed, 32 insertions, 22 deletions
diff --git a/libraries/fox-toolkit/README b/libraries/fox-toolkit/README
index da21eedeb6..506f31750a 100644
--- a/libraries/fox-toolkit/README
+++ b/libraries/fox-toolkit/README
@@ -1,4 +1,3 @@
FOX is a C++ based Toolkit for developing Graphical User Interfaces
easily and effectively. The FOX toolkit is fast and memory-efficient
and has a large selection of Controls available to programmers.
-
diff --git a/libraries/fox-toolkit/fox-toolkit.SlackBuild b/libraries/fox-toolkit/fox-toolkit.SlackBuild
index f0c079451a..67d21c66ba 100644
--- a/libraries/fox-toolkit/fox-toolkit.SlackBuild
+++ b/libraries/fox-toolkit/fox-toolkit.SlackBuild
@@ -23,10 +23,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fox-toolkit
-VERSION=1.6.25
+VERSION=1.6.31
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -48,12 +49,16 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP || exit 1
+cd $TMP
rm -rf fox-$VERSION
-tar -xzvf $CWD/fox-$VERSION.tar.gz || exit 1
-cd fox-$VERSION || exit 1
+tar xvf $CWD/fox-$VERSION.tar.gz
+cd fox-$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
# If OPENGL=YES above, then enable opengl; otherwise, disable it.
if [ "$OPENGL" = "YES" ]; then
@@ -69,23 +74,21 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-static=no \
--with-opengl=${do_opengl} \
--enable-threadsafe \
- --enable-release \
- || exit 1
+ --with-xft \
+ --enable-release
-make || exit 1
-make install DESTDIR=$PKG || exit 1
+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
)
-if [ -d $PKG/usr/man ]; then
( 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
)
-fi
mkdir -p $PKG/usr/doc
mv $PKG/usr/share/doc/fox-1.6 $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/libraries/fox-toolkit/fox-toolkit.info b/libraries/fox-toolkit/fox-toolkit.info
index 859b7e323e..afd355c099 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.25"
-HOMEPAGE="http://www.fox-toolkit.org/ "
-DOWNLOAD="http://www.fox-toolkit.org/ftp/fox-1.6.25.tar.gz"
-MD5SUM="216095ac8d78f5376415f72b309bf50d"
+VERSION="1.6.31"
+HOMEPAGE="http://www.fox-toolkit.org/"
+DOWNLOAD="http://www.fox-toolkit.org/ftp/fox-1.6.31.tar.gz"
+MD5SUM="3ca24ab9972223571419a13a3a4ab2f0"
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
-APPROVED="elohim"
+APPROVED="BP{k}"
diff --git a/libraries/fox-toolkit/slack-desc b/libraries/fox-toolkit/slack-desc
index 619f95e37b..4ea42c074e 100644
--- a/libraries/fox-toolkit/slack-desc
+++ b/libraries/fox-toolkit/slack-desc
@@ -1,11 +1,19 @@
-fox-toolkit: FOX C++ Graphical Toolkit
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+fox-toolkit: fox-toolkit (FOX C++ Graphical Toolkit)
fox-toolkit:
-fox-toolkit: FOX is a C++ based Toolkit for developing Graphical User Interfaces
-fox-toolkit: easily and effectively. The FOX toolkit is fast and memory-efficient
-fox-toolkit: and has a large selection of Controls available to programmers.
+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
+fox-toolkit: available to programmers.
fox-toolkit:
fox-toolkit: http://www.fox-toolkit.org/
fox-toolkit:
fox-toolkit:
fox-toolkit:
-fox-toolkit: