summaryrefslogtreecommitdiff
path: root/office/gnucash/gnucash.SlackBuild
diff options
context:
space:
mode:
authorLenard Spencer <lspencer31@cfl.rr.com>2018-03-29 21:15:13 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-31 07:41:39 +0700
commit18ce7d3644f303fef97b6bdc1a2493add83d9a20 (patch)
tree17066c1fe67018c57bdc7a6ad48e705ff09dc349 /office/gnucash/gnucash.SlackBuild
parente8475f35c9b29779e5923df3b2e08af2974ae124 (diff)
downloadslackbuilds-18ce7d3644f303fef97b6bdc1a2493add83d9a20.tar.gz
office/gnucash: Updated for version 2.6.19 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/gnucash/gnucash.SlackBuild')
-rw-r--r--office/gnucash/gnucash.SlackBuild40
1 files changed, 27 insertions, 13 deletions
diff --git a/office/gnucash/gnucash.SlackBuild b/office/gnucash/gnucash.SlackBuild
index fe0d52d5e3..01bf65e4fa 100644
--- a/office/gnucash/gnucash.SlackBuild
+++ b/office/gnucash/gnucash.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for gnucash
# Copyright 2015 Trayan Denev, tdenev@gmail.com
+# This version Copyright 2018 Lenard Spencer <lspencer31@cfl.rr.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gnucash
-VERSION=${VERSION:-2.6.13}
+VERSION=${VERSION:-2.6.19}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,9 +41,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DBI=${DBI:-false}
-OPT_ARGS=""
-
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -63,12 +61,28 @@ else
LIBDIRSUFFIX=""
fi
-if [ ! "$DBI" = "false" ] ; then
- OPT_ARGS+="--enable-dbi --with-dbi-dbd-dir=/usr/lib${LIBDIRSUFFIX}/dbd/ "
- echo $0 : building with dbi enabled
- sleep 0.5
+if [ "$DBI" = "yes" ]; then
+ DBIARGS="--enable-dbi --with-dbi-dbd-dir=/usr/lib${LIBDIRSUFFIX}/dbd/ "
+ echo " building with dbi enabled"
+ sleep 1
+else
+ DBIARGS="--disable-dbi "
+fi
+
+if [ "$OFX" = "yes" ]; then
+ OFXBANKING="--enable-ofx"
+ echo " building with OFX enabled"
+ sleep 1
+else
+ OFXBANKING="--disable-ofx"
+fi
+
+if [ "$AQ" = "yes" ]; then
+ AQBANKING="--enable-aqbanking"
+ echo " building with aqbanking enabled"
+ sleep 1
else
- OPT_ARGS+="--disable-dbi "
+ AQBANKING="--disable-aqbanking"
fi
set -e
@@ -97,11 +111,11 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-python \
- --enable-ofx \
- --disable-aqbanking \
+ $OFXBANKING \
+ $AQBANKING \
--disable-schemas-compile \
- --build=$ARCH-slackware-linux \
- $OPT_ARGS
+ $DBIARGS \
+ --build=$ARCH-slackware-linux
# --enable-register2 (not ready for 2.6.0 release)