summaryrefslogtreecommitdiff
path: root/network/znc/znc.SlackBuild
diff options
context:
space:
mode:
authorSean Donner <sean.donner@gmail.com>2013-01-26 21:19:13 -0600
committerRobby Workman <rworkman@slackbuilds.org>2013-02-05 22:40:16 -0600
commitf1b14f64b439326741e23a4c8d02580c2a64a884 (patch)
tree12ca85cd0ca283e58d941a3c70346423947e4034 /network/znc/znc.SlackBuild
parent64638d7106e292ad5893d7666f2ac8d70e366849 (diff)
downloadslackbuilds-f1b14f64b439326741e23a4c8d02580c2a64a884.tar.gz
network/znc: Updated for version 1.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/znc/znc.SlackBuild')
-rw-r--r--network/znc/znc.SlackBuild25
1 files changed, 8 insertions, 17 deletions
diff --git a/network/znc/znc.SlackBuild b/network/znc/znc.SlackBuild
index 5262436e3d..06c636f13b 100644
--- a/network/znc/znc.SlackBuild
+++ b/network/znc/znc.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ZNC
-# Copyright 2007-2009 Sean Donner (sean.donner@gmail.com)
+# Copyright 2007-2013 Sean Donner (sean.donner@gmail.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,16 +23,15 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=znc
-VERSION=0.202
+VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ZNC_USER=${ZNC_USER:-znc}
WITH_SSL=${WITH_SSL:-yes}
WITH_IPV6=${WITH_IPV6:-yes}
-WITH_CARES=${WITH_CARES:-no}
WITH_PERL=${WITH_PERL:-no}
-WITH_SASL=${WITH_SASL:-yes}
+WITH_cyrus=${WITH_CYRUS:-yes}
WITH_PYTHON=${WITH_PYTHON:-no}
WITH_SWIG=${WITH_SWIG:-no}
WITH_TCL=${WITH_TCL:-no}
@@ -94,22 +93,16 @@ else
do_ipv6="--enable-ipv6"
fi
-if [ "$WITH_CARES" != "yes" ]; then
- do_cares="--disable-c-ares"
-else
- do_cares="--enable-c-ares"
-fi
-
if [ "$WITH_PERL" != "yes" ]; then
- do_perl="--disable-c-ares"
+ do_perl="--disable-perl"
else
do_perl="--enable-perl"
fi
-if [ "$WITH_SASL" != "yes" ]; then
- do_sasl="--disable-sasl"
+if [ "$WITH_CYRUS" != "yes" ]; then
+ do_cyrus="--disable-cyrus"
else
- do_sasl="--enable-sasl"
+ do_cyrus="--enable-cyrus"
fi
if [ "$WITH_PYTHON" != "yes" ]; then
@@ -139,12 +132,10 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--build=$ARCH-slackware-linux \
- --enable-extra \
$do_openssl \
$do_ipv6 \
- $do_cares \
$do_perl \
- $do_sasl \
+ $do_cyrus \
$do_python \
$do_swig \
$do_tcl