diff options
Diffstat (limited to 'system/rox-filer/rox-filer.SlackBuild')
-rw-r--r-- | system/rox-filer/rox-filer.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/system/rox-filer/rox-filer.SlackBuild b/system/rox-filer/rox-filer.SlackBuild index 4b800b1cc0..7476248261 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} |