summaryrefslogtreecommitdiff
path: root/libraries/liblo/liblo.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <HMWiesinger@gmx.at>2010-05-11 22:24:04 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-11 22:24:04 +0200
commit710f0fba940f28c3c71967ecba38be07804cfbd7 (patch)
treebe995d1f07b99708bef448c4536c4f5b6d97ff8c /libraries/liblo/liblo.SlackBuild
parent0a1de7bc2ed6d3556bc8b68912628774b37eb8ba (diff)
downloadslackbuilds-710f0fba940f28c3c71967ecba38be07804cfbd7.tar.gz
libraries/liblo: Updated for version 0.25
Diffstat (limited to 'libraries/liblo/liblo.SlackBuild')
-rw-r--r--libraries/liblo/liblo.SlackBuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/libraries/liblo/liblo.SlackBuild b/libraries/liblo/liblo.SlackBuild
index 8f74cb700b..f065fb9022 100644
--- a/libraries/liblo/liblo.SlackBuild
+++ b/libraries/liblo/liblo.SlackBuild
@@ -1,9 +1,8 @@
#!/bin/sh
# Slackware build script for liblo
-# Written by ppr:kut <hmwiesinger@gmx.at>
-# Copyright 2007 Heinz Wiesinger
+# Copyright 2007-2008 Heinz Wiesinger <hmwiesinger@gmx.at>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,10 +23,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=liblo
-VERSION=0.24
+VERSION=0.25
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -37,6 +37,8 @@ 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
@@ -56,7 +58,9 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --disable-static
+ --disable-static \
+ --build=$ARCH-slackware-linux \
+ --host=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG