summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/speedcontrol/speedcontrol.SlackBuild7
-rw-r--r--system/speedcontrol/speedcontrol.info4
2 files changed, 8 insertions, 3 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}
diff --git a/system/speedcontrol/speedcontrol.info b/system/speedcontrol/speedcontrol.info
index 7ffe8e4346..92215f9804 100644
--- a/system/speedcontrol/speedcontrol.info
+++ b/system/speedcontrol/speedcontrol.info
@@ -2,7 +2,9 @@ PRGNAM="speedcontrol"
VERSION="20041204"
HOMEPAGE="http://noto.de/"
DOWNLOAD="http://noto.de/speed/speedcontrol.c"
+DOWNLOAD_x86_64=""
MD5SUM="5c50b0a62f52774cbd9f1036ade36d1b"
-MAINTAINER="ppr:kut"
+MD5SUM_x86_64=""
+MAINTAINER="pprkut"
EMAIL="pprkut@liwjatan.at"
APPROVED="rworkman"