summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/quesoglc/quesoglc.SlackBuild27
-rw-r--r--libraries/quesoglc/quesoglc.info8
-rw-r--r--libraries/quesoglc/slack-desc2
3 files changed, 29 insertions, 8 deletions
diff --git a/libraries/quesoglc/quesoglc.SlackBuild b/libraries/quesoglc/quesoglc.SlackBuild
index f2ef916c38..54aaab266d 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 0c31bb9a12..b4b096912b 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 f1f3663053..d1c2da3e42 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: