summaryrefslogtreecommitdiffstats
path: root/system/smart/smart.SlackBuild
diff options
context:
space:
mode:
author Robby Workman2010-05-13 00:41:48 +0200
committer David Somero2010-05-13 00:41:48 +0200
commit7be48660818b522e7939c6b7c392c66af035cd8b (patch)
treef7af660a21573c509e18525f33e15f2decfc7572 /system/smart/smart.SlackBuild
parent63b09cb4cf3a4cbf4787fe27d660f9fca508bf93 (diff)
downloadslackbuilds-7be48660818b522e7939c6b7c392c66af035cd8b.tar.gz
system/smart: Updated for version 1.2
Diffstat (limited to 'system/smart/smart.SlackBuild')
-rw-r--r--system/smart/smart.SlackBuild10
1 files changed, 1 insertions, 9 deletions
diff --git a/system/smart/smart.SlackBuild b/system/smart/smart.SlackBuild
index 73c0b6ae9f..768e1003bb 100644
--- a/system/smart/smart.SlackBuild
+++ b/system/smart/smart.SlackBuild
@@ -33,14 +33,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
-fi
-
set -e
rm -rf $PKG
@@ -76,4 +68,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}