diff options
author | Sean Donner <sean.donner@gmail.com> | 2011-11-12 23:48:52 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-11-12 23:48:52 -0600 |
commit | d6c76c4049f9446f333768a0c74cfeebd785cf7f (patch) | |
tree | 215e8cfcbea706946d835367e43c6d63847438ab /network | |
parent | da5409bfce6fced4d4162c9af2031bb518d3b5ee (diff) |
network/znc: Updated for version 0.202.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/znc/znc.SlackBuild | 42 | ||||
-rw-r--r-- | network/znc/znc.info | 6 |
2 files changed, 40 insertions, 8 deletions
diff --git a/network/znc/znc.SlackBuild b/network/znc/znc.SlackBuild index d5da0fa26e41b..5262436e3d2ae 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 > \ diff --git a/network/znc/znc.info b/network/znc/znc.info index 426d269144dc6..661cfe29e41b7 100644 --- a/network/znc/znc.info +++ b/network/znc/znc.info @@ -1,8 +1,8 @@ PRGNAM="znc" -VERSION="0.096" +VERSION="0.202" HOMEPAGE="http://en.znc.in/wiki/ZNC" -DOWNLOAD="http://downloads.sourceforge.net/znc/znc-0.096.tar.gz" -MD5SUM="38eec4f1911a68b4d2fc704170e7cbf6" +DOWNLOAD="http://znc.in/releases/znc-0.202.tar.gz" +MD5SUM="3c6ff4620e139e3d9745cd53111bab20" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Sean Donner" |