mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/fox-toolkit: Updated for version 1.6.31
This commit is contained in:
parent
c9736f4e6f
commit
cbe13f3a36
4 changed files with 32 additions and 22 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}"
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue