summaryrefslogtreecommitdiff
path: root/office/osmo/osmo.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/osmo/osmo.SlackBuild')
-rw-r--r--office/osmo/osmo.SlackBuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/office/osmo/osmo.SlackBuild b/office/osmo/osmo.SlackBuild
index 071385b5a7..942867f3b5 100644
--- a/office/osmo/osmo.SlackBuild
+++ b/office/osmo/osmo.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=osmo
VERSION=${VERSION:-0.2.8}
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -33,6 +33,14 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+SYNCML=${SYNCML:-no}
+
+if [ "$SYNCML" = "no" ]; then
+ do_syncml="without"
+else
+ do_syncml="with"
+fi
+
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -66,6 +74,7 @@ CFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ --${do_syncml}-libsyncml \
--build=$ARCH-slackware-linux
make