summaryrefslogtreecommitdiff
path: root/libraries/ORBit2/ORBit2.SlackBuild
diff options
context:
space:
mode:
authorDaniel Liljeqvist <dasajev@gmail.com>2010-05-12 17:40:13 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:40:13 +0200
commitd3ec4d5883204e4e9602e1eed04cf21d6fecc228 (patch)
tree4a12323660e2abe283bd0f7a81e8f2f89ba8abd6 /libraries/ORBit2/ORBit2.SlackBuild
parent9732fa8c34afeaa0486af4a69b6cda9226172c40 (diff)
downloadslackbuilds-d3ec4d5883204e4e9602e1eed04cf21d6fecc228.tar.gz
libraries/ORBit2: Updated for version 2.14.17
Diffstat (limited to 'libraries/ORBit2/ORBit2.SlackBuild')
-rw-r--r--libraries/ORBit2/ORBit2.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/libraries/ORBit2/ORBit2.SlackBuild b/libraries/ORBit2/ORBit2.SlackBuild
index 9bdd7b401b..7025a77db8 100644
--- a/libraries/ORBit2/ORBit2.SlackBuild
+++ b/libraries/ORBit2/ORBit2.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ORBit2
-VERSION=${VERSION:-2.14.16}
+VERSION=${VERSION:-2.14.17}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -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
@@ -60,11 +63,11 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
- --build=$ARCH-slackware-linux \
- --host=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG