diff options
Diffstat (limited to 'academic/genius/genius.SlackBuild')
-rw-r--r-- | academic/genius/genius.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/academic/genius/genius.SlackBuild b/academic/genius/genius.SlackBuild index 4cb0512b7b3aa..7def2c85f670a 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 \ |