summaryrefslogtreecommitdiff
path: root/office/grisbi/grisbi.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2019-10-01 17:02:03 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-10-05 13:51:56 +0700
commitceaac30551cde37d86aae1312e46983343f87c55 (patch)
treed38ddba16e4b9922bac102318054e78c5189fa7a /office/grisbi/grisbi.SlackBuild
parent603aa0ea226e9f2feebafd8fdfaecdadc50afccf (diff)
downloadslackbuilds-ceaac30551cde37d86aae1312e46983343f87c55.tar.gz
office/grisbi: Updated for version 1.2.2
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
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