summaryrefslogtreecommitdiff
path: root/system/goaccess/goaccess.SlackBuild
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2017-10-27 16:38:59 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-10-28 05:58:30 +0700
commitfde5c82ec08e8aec67df3e329373b24c8c2f8b86 (patch)
tree19437f86e7dfc995a3e09232db76683782dc79e8 /system/goaccess/goaccess.SlackBuild
parentd23dbd02554620e5185359b67c300c2d9886e4ae (diff)
downloadslackbuilds-fde5c82ec08e8aec67df3e329373b24c8c2f8b86.tar.gz
system/goaccess: Updated for version 1.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/goaccess/goaccess.SlackBuild')
-rw-r--r--system/goaccess/goaccess.SlackBuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/system/goaccess/goaccess.SlackBuild b/system/goaccess/goaccess.SlackBuild
index c6d7b4c842..3cae1efd32 100644
--- a/system/goaccess/goaccess.SlackBuild
+++ b/system/goaccess/goaccess.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=goaccess
-VERSION=${VERSION:-0.9.4}
+VERSION=${VERSION:-1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,7 +54,13 @@ else
LIBDIRSUFFIX=""
fi
-geoip="" ; [ "${GEOIP:-no}" != "no" ] && geoip="--enable-geoip"
+if [ -n "$GEOIP" ]; then
+ geoip="--enable-geoip=$GEOIP"
+fi
+
+if [ -n "$TCB" ]; then
+ tcb="--enable-tcb=$TCB"
+fi
set -e
@@ -80,9 +86,12 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--infodir=/usr/info \
+ --with-getline \
+ --with-openssl \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-utf8 \
$geoip \
+ $tcb \
--build=$ARCH-slackware-linux
make