From cbe13f3a369ca5f2ca318578ea02d40f3ac8fede Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Tue, 11 May 2010 19:44:58 +0200 Subject: libraries/fox-toolkit: Updated for version 1.6.31 --- libraries/fox-toolkit/fox-toolkit.SlackBuild | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'libraries/fox-toolkit/fox-toolkit.SlackBuild') 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 -- cgit v1.2.3