diff --git a/libraries/quesoglc/quesoglc.SlackBuild b/libraries/quesoglc/quesoglc.SlackBuild index 68c36629d0..f2ef916c38 100644 --- a/libraries/quesoglc/quesoglc.SlackBuild +++ b/libraries/quesoglc/quesoglc.SlackBuild @@ -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} diff --git a/libraries/quesoglc/quesoglc.info b/libraries/quesoglc/quesoglc.info index ea0697abbb..d822663043 100644 --- a/libraries/quesoglc/quesoglc.info +++ b/libraries/quesoglc/quesoglc.info @@ -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" diff --git a/libraries/quesoglc/slack-desc b/libraries/quesoglc/slack-desc index dd63cb87ba..f1f3663053 100644 --- a/libraries/quesoglc/slack-desc +++ b/libraries/quesoglc/slack-desc @@ -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: