aboutsummaryrefslogtreecommitdiff
path: root/system/sqlcipher/sqlcipher.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/sqlcipher/sqlcipher.SlackBuild')
-rw-r--r--system/sqlcipher/sqlcipher.SlackBuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/system/sqlcipher/sqlcipher.SlackBuild b/system/sqlcipher/sqlcipher.SlackBuild
index 21cfe599e0f72..d1c09fddc39f7 100644
--- a/system/sqlcipher/sqlcipher.SlackBuild
+++ b/system/sqlcipher/sqlcipher.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for sqlcipher
-# Copyright 2015 Mario Preksavec, Zagreb, Croatia
+# Copyright 2015, 2016 Mario Preksavec, Zagreb, Croatia
# 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=sqlcipher
-VERSION=${VERSION:-3.3.1}
+VERSION=${VERSION:-3.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,13 +54,19 @@ else
LIBDIRSUFFIX=""
fi
+# Do not build TCL extension by default
+case ${WITH_TCL:-no} in
+ y|yes|Y|YES) : ;;
+ *) WITH_TCL="--disable-tcl" ;;
+esac
+
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -81,6 +87,7 @@ LDFLAGS="-lcrypto" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-tempstore=yes \
--disable-static \
+ $WITH_TCL \
--build=$ARCH-slackware-linux
make