libraries/fox-toolkit: Updated for version 1.6.34

This commit is contained in:
Robby Workman 2010-05-12 17:40:38 +02:00 committed by Michiel van Wessem
parent 32d0ef6178
commit e44576383d
2 changed files with 19 additions and 14 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for fox-toolkit
# Copyright 2006-2007 Robby Workman (http://rlworkman.net)
# Copyright 2006-2009 Robby Workman (http://rlworkman.net)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fox-toolkit
VERSION=1.6.31
VERSION=1.6.34
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -43,8 +43,13 @@ OPENGL=${OPENGL:-YES}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi
rm -rf $PKG
@ -71,23 +76,23 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-static=no \
--with-opengl=${do_opengl} \
--enable-threadsafe \
--with-xft \
--enable-release
--enable-release \
--build=$ARCH-slackware-linux
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
)
( 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
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
)
mkdir -p $PKG/usr/doc

View file

@ -1,8 +1,8 @@
PRGNAM="fox-toolkit"
VERSION="1.6.31"
VERSION="1.6.34"
HOMEPAGE="http://www.fox-toolkit.org/"
DOWNLOAD="http://www.fox-toolkit.org/ftp/fox-1.6.31.tar.gz"
MD5SUM="3ca24ab9972223571419a13a3a4ab2f0"
DOWNLOAD="http://www.fox-toolkit.org/ftp/fox-1.6.34.tar.gz"
MD5SUM="920124025d6495bbd008be635ff759ad"
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
APPROVED="BP{k}"
APPROVED="Michiel"