aboutsummaryrefslogtreecommitdiff
path: root/system/rox-filer/rox-filer.SlackBuild
diff options
context:
space:
mode:
authorslakmagik <jsun@freeshell.org>2010-05-13 00:41:38 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:41:38 +0200
commitc606b17fa74ff23420ba07e1c55b0b4c0764d2e2 (patch)
treeb0f9afb4b7f65820fd58cf39c8bf6789e424a6eb /system/rox-filer/rox-filer.SlackBuild
parent134389d37cc9a33a7e582c09f4f6b72a51628921 (diff)
system/rox-filer: Updated for version 2.9
Diffstat (limited to 'system/rox-filer/rox-filer.SlackBuild')
-rw-r--r--system/rox-filer/rox-filer.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/system/rox-filer/rox-filer.SlackBuild b/system/rox-filer/rox-filer.SlackBuild
index 4b800b1cc0c28..74762482616f7 100644
--- a/system/rox-filer/rox-filer.SlackBuild
+++ b/system/rox-filer/rox-filer.SlackBuild
@@ -5,7 +5,7 @@
# Released under the WTFPL
PRGNAM=rox-filer
-VERSION=2.6.1
+VERSION=${VERSION:-2.9}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -17,10 +17,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
@@ -105,4 +108,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
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}