aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--office/gnucash/README7
-rw-r--r--office/gnucash/gnucash.SlackBuild40
-rw-r--r--office/gnucash/gnucash.info12
3 files changed, 39 insertions, 20 deletions
diff --git a/office/gnucash/README b/office/gnucash/README
index ad24d5d611065..58526fd12d6ca 100644
--- a/office/gnucash/README
+++ b/office/gnucash/README
@@ -8,5 +8,10 @@ As quick and intuitive to use as a checkbook register, it is based
on professional accounting principles to ensure balanced books and
accurate reports.
+Reuires libgnomecanvas, goffice0.8, and webkitgtk.
+
+Pass OFX="yes" for OFX (USA) (requies libofx)
+Pass AQ="yes" to enable aqbanking (Germany) (requires aqbanking)
+
If you want the SQL database integration, you must first have libdbi
-and libdbi-drivers installed, and then pass the DBI=true flag.
+and libdbi-drivers installed, and then pass the DBI="yes" flag.
diff --git a/office/gnucash/gnucash.SlackBuild b/office/gnucash/gnucash.SlackBuild
index fe0d52d5e3222..01bf65e4fa93a 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)
diff --git a/office/gnucash/gnucash.info b/office/gnucash/gnucash.info
index 199506fd7c8ca..66c088cf6f32f 100644
--- a/office/gnucash/gnucash.info
+++ b/office/gnucash/gnucash.info
@@ -1,10 +1,10 @@
PRGNAM="gnucash"
-VERSION="2.6.13"
+VERSION="2.6.19"
HOMEPAGE="http://www.gnucash.org/"
-DOWNLOAD="http://downloads.sourceforge.net/gnucash/gnucash-2.6.13.tar.bz2"
-MD5SUM="3854e7b7a636941104c5b9e549eeb4c5"
+DOWNLOAD="http://downloads.sourceforge.net/gnucash/gnucash-2.6.19.tar.bz2"
+MD5SUM="f7c6584b628f1e9baa9207c6fae6a850"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libofx libgnomecanvas goffice0.8 webkitgtk"
-MAINTAINER="Trayan Denev"
-EMAIL="tdenev@gmail.com"
+REQUIRES="libgnomecanvas goffice0.8 webkitgtk"
+MAINTAINER="Lenard Spencer"
+EMAIL="lspencer31@cfl.rr.com"