summaryrefslogtreecommitdiff
path: root/office/grisbi/grisbi.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/grisbi/grisbi.SlackBuild')
-rw-r--r--office/grisbi/grisbi.SlackBuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/office/grisbi/grisbi.SlackBuild b/office/grisbi/grisbi.SlackBuild
index 690264a2eb..3df7924090 100644
--- a/office/grisbi/grisbi.SlackBuild
+++ b/office/grisbi/grisbi.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for grisbi
-# Copyright 2010-2018 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2010-2019 Larry Hajali <larryhaja[at]gmail[dot]com>
# 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=grisbi
-VERSION=${VERSION:-1.0.4}
+VERSION=${VERSION:-1.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,6 +69,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Test for cunit
+if pkg-config --exists cunit; then
+ CUNIT_ENABLED="yes"
+else
+ CUNIT_ENABLED="no"
+fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -79,6 +86,7 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-static=no \
--disable-dependency-tracking \
--disable-silent-rules \
+ --with-cunit=$CUNIT_ENABLED \
--build=$ARCH-slackware-linux
make