summaryrefslogtreecommitdiff
path: root/system/goaccess/goaccess.SlackBuild
diff options
context:
space:
mode:
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