summaryrefslogtreecommitdiffstats
path: root/source/l/soprano
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/soprano')
-rw-r--r--source/l/soprano/slack-desc2
-rwxr-xr-xsource/l/soprano/soprano.SlackBuild20
-rw-r--r--source/l/soprano/soprano.info1
3 files changed, 16 insertions, 7 deletions
diff --git a/source/l/soprano/slack-desc b/source/l/soprano/slack-desc
index 387be5795..1cb3f2f8c 100644
--- a/source/l/soprano/slack-desc
+++ b/source/l/soprano/slack-desc
@@ -13,7 +13,7 @@ soprano: a nice Qt interface to RDF storage solutions. It has a modular
soprano: structure which allows to replace the actual RDF storage
soprano: implementation used.
soprano:
-soprano: Homepage: http://soprano.sourceforge.net/
soprano:
soprano:
+soprano: Homepage: http://soprano.sourceforge.net/
soprano:
diff --git a/source/l/soprano/soprano.SlackBuild b/source/l/soprano/soprano.SlackBuild
index dafbb7683..3fbdc8fc5 100755
--- a/source/l/soprano/soprano.SlackBuild
+++ b/source/l/soprano/soprano.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Copyright 2007-2008 Robby Workman, Northport, Alabama, USA
-# Copyright 2008-2009 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +22,20 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-VERSION=2.2.3
-ARCH=${ARCH:-x86_64}
+VERSION=${VERSION:-2.4.3}
BUILD=${BUILD:-1}
-
NUMJOBS=${NUMJOBS:--j6}
+# Automatically determine the architecture we're building on:
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i486 ;;
+ arm*) export ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) export ARCH=$( uname -m ) ;;
+ esac
+fi
+
CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-soprano
@@ -41,6 +49,9 @@ elif [ "$ARCH" = "s390" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
fi
rm -rf $PKG
@@ -61,7 +72,6 @@ cd build
QTDIR=/usr/lib${LIBDIRSUFFIX}/qt \
PATH=$QTDIR/bin:$PATH \
cmake \
- -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
diff --git a/source/l/soprano/soprano.info b/source/l/soprano/soprano.info
deleted file mode 100644
index e66984fa5..000000000
--- a/source/l/soprano/soprano.info
+++ /dev/null
@@ -1 +0,0 @@
-HOMEPAGE="http://soprano.sourceforge.net/"