diff options
author | Matthew Fillpot <mfillpot@gmail.com> | 2010-05-13 00:33:26 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:33:26 +0200 |
commit | 46ee49262137c646b3141684d1be364daff0b418 (patch) | |
tree | f52f2c5078c573e94268af2ee9dbf4ac7c5eb291 /libraries/quesoglc | |
parent | 03c845c59f2f0fde0334695f14e67b810d4a3979 (diff) |
libraries/quesoglc: Updated for version 0.7.2
Diffstat (limited to 'libraries/quesoglc')
-rw-r--r-- | libraries/quesoglc/quesoglc.SlackBuild | 32 | ||||
-rw-r--r-- | libraries/quesoglc/quesoglc.info | 12 | ||||
-rw-r--r-- | libraries/quesoglc/slack-desc | 8 |
3 files changed, 35 insertions, 17 deletions
diff --git a/libraries/quesoglc/quesoglc.SlackBuild b/libraries/quesoglc/quesoglc.SlackBuild index 68c36629d08c..f2ef916c3858 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 ea0697abbb56..d82266304363 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 dd63cb87baff..f1f366305389 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: |