summaryrefslogtreecommitdiff
path: root/development/gputils/gputils.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/gputils/gputils.SlackBuild')
-rw-r--r--development/gputils/gputils.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/development/gputils/gputils.SlackBuild b/development/gputils/gputils.SlackBuild
index c81a4862c0..ceff94babd 100644
--- a/development/gputils/gputils.SlackBuild
+++ b/development/gputils/gputils.SlackBuild
@@ -5,13 +5,13 @@
# Now maintained by: R. S. Ananda Murthy <rsamurti@gmail.com>
PRGNAM=gputils
-VERSION=${VERSION:-1.4.0.1}
+VERSION=${VERSION:-1.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -24,8 +24,8 @@ OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
@@ -37,9 +37,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-1.4.0-1
-tar xvf $CWD/$PRGNAM-1.4.0-1.tar.gz
-cd $PRGNAM-1.4.0-1
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION-1.tar.bz2
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \