From fde5c82ec08e8aec67df3e329373b24c8c2f8b86 Mon Sep 17 00:00:00 2001 From: David Woodfall Date: Fri, 27 Oct 2017 16:38:59 +0700 Subject: system/goaccess: Updated for version 1.2. Signed-off-by: Willy Sudiarto Raharjo --- system/goaccess/goaccess.SlackBuild | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'system/goaccess/goaccess.SlackBuild') 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 -- cgit v1.2.3