diff options
Diffstat (limited to 'system/speedcontrol/speedcontrol.SlackBuild')
-rw-r--r-- | system/speedcontrol/speedcontrol.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/system/speedcontrol/speedcontrol.SlackBuild b/system/speedcontrol/speedcontrol.SlackBuild index 2370c75814..a5b4979297 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} |