summaryrefslogtreecommitdiff
path: root/development/egenix-mx-base/egenix-mx-base.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/egenix-mx-base/egenix-mx-base.SlackBuild')
-rw-r--r--development/egenix-mx-base/egenix-mx-base.SlackBuild14
1 files changed, 3 insertions, 11 deletions
diff --git a/development/egenix-mx-base/egenix-mx-base.SlackBuild b/development/egenix-mx-base/egenix-mx-base.SlackBuild
index a904bb8499..e66b406151 100644
--- a/development/egenix-mx-base/egenix-mx-base.SlackBuild
+++ b/development/egenix-mx-base/egenix-mx-base.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for egenix-mx-base
-# Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at>
+# Copyright 2008-2010 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=egenix-mx-base
-VERSION=3.1.2
+VERSION=3.1.3
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -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
@@ -69,4 +61,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}