aboutsummaryrefslogtreecommitdiff
path: root/system/speedcontrol/speedcontrol.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-13 00:41:51 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:41:51 +0200
commit8521452e5ed932fa0f5f230492d6b5732598d6f3 (patch)
tree1472ed7f75fa5b178ee2ce3965ac6a7cf7570377 /system/speedcontrol/speedcontrol.SlackBuild
parent83b1a736b93f45afadc19354be7f0fc4f60e7abd (diff)
system/speedcontrol: Updated for version 20041204
Diffstat (limited to 'system/speedcontrol/speedcontrol.SlackBuild')
-rw-r--r--system/speedcontrol/speedcontrol.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/system/speedcontrol/speedcontrol.SlackBuild b/system/speedcontrol/speedcontrol.SlackBuild
index 2370c758141bb..a5b4979297fc0 100644
--- a/system/speedcontrol/speedcontrol.SlackBuild
+++ b/system/speedcontrol/speedcontrol.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for speedcontrol
-# Copyright 2008 Heinz Wiesinger <pprkut@liwjatan.at>
+# Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -70,4 +73,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}