libraries/quesoglc: Updated for version 0.7.2

This commit is contained in:
Matthew Fillpot 2010-05-13 00:33:26 +02:00 committed by Robby Workman
parent 03c845c59f
commit 46ee492621
3 changed files with 35 additions and 17 deletions

View file

@ -2,7 +2,7 @@
# SlackBuild script for QuesoGLC
# Copyright 2008 Andrew "ccfreak2k" Waters
# Copyright 2009 Matthew "mfillpot" Fillpot
# 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=quesoglc
VERSION=${VERSION:-0.7.1}
VERSION=${VERSION:-0.7.2}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -35,21 +35,32 @@ OUTPUT=${OUTPUT:-/tmp}
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"
else
echo "Unrecognized architecture type! Check the script: $0"
exit 1
fi
set -e
rm -rf $TMP/$PRGNAM-$VERSION $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
cd $PRGNAM-$VERSION || exit 1
cd $TMP
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
CFLAGS="$SLKCFLAGS" \
./configure \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--docdir=/usr/doc/$PRGNAM-$VERSION \
@ -57,11 +68,16 @@ CFLAGS="$SLKCFLAGS" \
--disable-executables \
--build=$ARCH-slackware-linux
make || exit 1
make
make install DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL THANKS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,8 +1,10 @@
PRGNAM="quesoglc"
VERSION="0.7.1"
VERSION="0.7.2"
HOMEPAGE="http://quesoglc.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/quesoglc/quesoglc-0.7.1.tar.bz2"
MD5SUM="53e9c5c304369803aa99000916728119"
MAINTAINER="Andrew Waters"
EMAIL="ccfreak2k@gmail.com"
DOWNLOAD="http://downloads.sourceforge.net/quesoglc/quesoglc-0.7.2.tar.bz2"
DOWNLOAD_x86_64="http://downloads.sourceforge.net/quesoglc/quesoglc-0.7.2.tar.bz2"
MD5SUM="1c8d394d4f41fa0c5b08eb7ead73c4ef"
MD5SUM_x86_64="1c8d394d4f41fa0c5b08eb7ead73c4ef"
MAINTAINER="Matthew Fillpot"
EMAIL="mfillpot@gmail.com"
APPROVED="rworkman"

View file

@ -7,13 +7,13 @@
|-----handy-ruler----------------------------------------------------|
quesoglc: quesoGLC (OpenGL Character Renderer)
quesoglc:
quesoglc:
quesoglc: QuesoGLC is a free (as in free speech) implementation of the OpenGL
quesoglc: Character Renderer (GLC). QuesoGLC is based on the FreeType library,
quesoglc: provides Unicode support and is designed to be easily ported to any
quesoglc: platform that supports both FreeType and the OpenGL API.
quesoglc:
quesoglc:
quesoglc: Homepage: http://quesoglc.sourceforge.net/
quesoglc:
quesoglc:
quesoglc:
quesoglc:
quesoglc: