summaryrefslogtreecommitdiff
path: root/libraries/liblo/liblo.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-12 17:41:27 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:41:27 +0200
commit06ad0c0c0eb85167bcbffe3df4bbb2c389069b2b (patch)
treee33c5b4d791875aee5b5fcd4aae2f7a57e779945 /libraries/liblo/liblo.SlackBuild
parent298650125e275c916999d97aaba356ad29ba9912 (diff)
downloadslackbuilds-06ad0c0c0eb85167bcbffe3df4bbb2c389069b2b.tar.gz
libraries/liblo: Updated for version 0.26
Diffstat (limited to 'libraries/liblo/liblo.SlackBuild')
-rw-r--r--libraries/liblo/liblo.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/libraries/liblo/liblo.SlackBuild b/libraries/liblo/liblo.SlackBuild
index f065fb9022..a3aa5437c4 100644
--- a/libraries/liblo/liblo.SlackBuild
+++ b/libraries/liblo/liblo.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for liblo
-# Copyright 2007-2008 Heinz Wiesinger <hmwiesinger@gmx.at>
+# Copyright 2007-2009 Heinz Wiesinger <pprkut@liwjatan.at>
# 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=liblo
-VERSION=0.25
+VERSION=0.26
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
@@ -56,11 +59,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