summaryrefslogtreecommitdiff
path: root/academic/genius/genius.SlackBuild
diff options
context:
space:
mode:
authorVincent Batts <vbatts@hashbangbash.com>2010-10-17 09:10:09 -0400
committerRobby Workman <rworkman@slackbuilds.org>2010-10-17 20:16:50 -0500
commitc638ad19b1dd5d4ac103fcd7285e561d2f9fe8b0 (patch)
tree6e799f6dc20cbc25333f807e4e72376fbc4a7495 /academic/genius/genius.SlackBuild
parentf3cf70a37b1f6974be332c5fb4aba707dd776ac9 (diff)
downloadslackbuilds-c638ad19b1dd5d4ac103fcd7285e561d2f9fe8b0.tar.gz
academic/genius: Updated for version 1.0.11.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/genius/genius.SlackBuild')
-rw-r--r--academic/genius/genius.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/academic/genius/genius.SlackBuild b/academic/genius/genius.SlackBuild
index 4cb0512b7b..7def2c85f6 100644
--- a/academic/genius/genius.SlackBuild
+++ b/academic/genius/genius.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for genius
-# Copyright 2009 Vincent Batts, vbatts@hashbangbash.com, http://hashbangbash.com/
+# Copyright 2009,2010 Vincent Batts, vbatts@hashbangbash.com, http://hashbangbash.com/
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
#
PRGNAM=genius
-VERSION=${VERSION:-1.0.5}
+VERSION=${VERSION:-1.0.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -32,7 +32,6 @@ 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
@@ -68,7 +67,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -77,6 +76,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Appearantly, some do not know that Makefiles require tabs, not spaces...
+cat $CWD/hidden-spaces.patch | patch -p1
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \