summaryrefslogtreecommitdiff
path: root/system/sqlcipher/sqlcipher.SlackBuild
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2016-07-24 19:03:55 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-30 08:28:21 +0700
commitdeff7ed5948989f4eb1649c0c34196ea50982d68 (patch)
treefe82b5edad2b26b3569c2bf841bf0ece394f346b /system/sqlcipher/sqlcipher.SlackBuild
parentfccdf683daf4dccce0dbc51009f2f852037e4b9b (diff)
downloadslackbuilds-deff7ed5948989f4eb1649c0c34196ea50982d68.tar.gz
system/sqlcipher: Updated for version 3.4.0.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
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 21cfe599e0..d1c09fddc3 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