summaryrefslogtreecommitdiff
path: root/network/znc/znc.SlackBuild
diff options
context:
space:
mode:
authorSean Donner <sean.donner@gmail.com>2011-11-12 23:48:52 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-11-12 23:48:52 -0600
commitd6c76c4049f9446f333768a0c74cfeebd785cf7f (patch)
tree215e8cfcbea706946d835367e43c6d63847438ab /network/znc/znc.SlackBuild
parentda5409bfce6fced4d4162c9af2031bb518d3b5ee (diff)
downloadslackbuilds-d6c76c4049f9446f333768a0c74cfeebd785cf7f.tar.gz
network/znc: Updated for version 0.202.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/znc/znc.SlackBuild')
-rw-r--r--network/znc/znc.SlackBuild42
1 files changed, 37 insertions, 5 deletions
diff --git a/network/znc/znc.SlackBuild b/network/znc/znc.SlackBuild
index d5da0fa26e..5262436e3d 100644
--- a/network/znc/znc.SlackBuild
+++ b/network/znc/znc.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=znc
-VERSION=0.096
+VERSION=0.202
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -32,6 +32,10 @@ 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_PYTHON=${WITH_PYTHON:-no}
+WITH_SWIG=${WITH_SWIG:-no}
+WITH_TCL=${WITH_TCL:-no}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -79,9 +83,9 @@ chown -R root:root .
chmod -R u+w,go+r-w,a-s .
if [ "$WITH_SSL" != "yes" ]; then
- do_openssl="--without-openssl"
+ do_openssl="--disable-openssl"
else
- do_openssl="--with-openssl"
+ do_openssl="--enable-openssl"
fi
if [ "$WITH_IPV6" != "yes" ]; then
@@ -102,6 +106,30 @@ else
do_perl="--enable-perl"
fi
+if [ "$WITH_SASL" != "yes" ]; then
+ do_sasl="--disable-sasl"
+else
+ do_sasl="--enable-sasl"
+fi
+
+if [ "$WITH_PYTHON" != "yes" ]; then
+ do_python="--disable-python"
+else
+ do_python="--enable-python"
+fi
+
+if [ "$WITH_SWIG" != "yes" ]; then
+ do_swig="--disable-swig"
+else
+ do_swig="--enable-swig"
+fi
+
+if [ "$WITH_TCL" != "yes" ]; then
+ do_tcl="--disable-tcl"
+else
+ do_tcl="--enable-tcl"
+fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -115,7 +143,11 @@ CXXFLAGS="$SLKCFLAGS" \
$do_openssl \
$do_ipv6 \
$do_cares \
- $do_perl
+ $do_perl \
+ $do_sasl \
+ $do_python \
+ $do_swig \
+ $do_tcl
make all
make install DESTDIR=$PKG
@@ -134,7 +166,7 @@ sed -e "s/@ZNC_USER@/$ZNC_USER/g" -e "s/@VERSION@/$VERSION/g" $CWD/rc.znc \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS LICENSE* README \
+ AUTHORS LICENSE* README* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
sed "s/@ZNC_USER@/$ZNC_USER/g" $CWD/README.SLACKWARE > \