diff options
author | Matthew Fillpot <mfilpot@gmail.com> | 2010-10-17 09:47:00 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-10-17 20:16:51 -0500 |
commit | 8de073c00593ffd241cab85b600a015d1af1d6c9 (patch) | |
tree | a904b36b21896ffd25d4ec1bd6384214d42a0b4f /libraries/quesoglc | |
parent | 2bb8d8c740f8f324599cf2357e9f7d862b0e5cf3 (diff) |
libraries/quesoglc: Miscellaneous fixes.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/quesoglc')
-rw-r--r-- | libraries/quesoglc/quesoglc.SlackBuild | 27 | ||||
-rw-r--r-- | libraries/quesoglc/quesoglc.info | 8 | ||||
-rw-r--r-- | libraries/quesoglc/slack-desc | 2 |
3 files changed, 29 insertions, 8 deletions
diff --git a/libraries/quesoglc/quesoglc.SlackBuild b/libraries/quesoglc/quesoglc.SlackBuild index f2ef916c3858f..54aaab266d0fa 100644 --- a/libraries/quesoglc/quesoglc.SlackBuild +++ b/libraries/quesoglc/quesoglc.SlackBuild @@ -2,7 +2,7 @@ # SlackBuild script for QuesoGLC -# Copyright 2009 Matthew "mfillpot" Fillpot +# Copyright 2010 Matthew "mfillpot" Fillpot # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,10 +24,19 @@ PRGNAM=quesoglc VERSION=${VERSION:-0.7.2} -ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; +# Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -71,6 +80,18 @@ CFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +#No man pages + +#No info pages + +find $PKG -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING ChangeLog INSTALL THANKS README \ $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/libraries/quesoglc/quesoglc.info b/libraries/quesoglc/quesoglc.info index 0c31bb9a12680..b4b096912b21b 100644 --- a/libraries/quesoglc/quesoglc.info +++ b/libraries/quesoglc/quesoglc.info @@ -3,8 +3,8 @@ VERSION="0.7.2" HOMEPAGE="http://quesoglc.sourceforge.net/" DOWNLOAD="http://downloads.sourceforge.net/quesoglc/quesoglc-0.7.2.tar.bz2" MD5SUM="1c8d394d4f41fa0c5b08eb7ead73c4ef" -DOWNLOAD_x86_64="http://downloads.sourceforge.net/quesoglc/quesoglc-0.7.2.tar.bz2" -MD5SUM_x86_64="1c8d394d4f41fa0c5b08eb7ead73c4ef" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" MAINTAINER="Matthew Fillpot" -EMAIL="mfillpot@gmail.com" -APPROVED="rworkman" +EMAIL="mfilpot@gmail.com" +APPROVED="dsomero" diff --git a/libraries/quesoglc/slack-desc b/libraries/quesoglc/slack-desc index f1f366305389f..d1c2da3e42403 100644 --- a/libraries/quesoglc/slack-desc +++ b/libraries/quesoglc/slack-desc @@ -15,5 +15,5 @@ quesoglc: platform that supports both FreeType and the OpenGL API. quesoglc: quesoglc: Homepage: http://quesoglc.sourceforge.net/ quesoglc: -quesoglc: +quesoglc: quesoglc: |