mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
network/znc: Updated for version 0.202.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
da5409bfce
commit
d6c76c4049
2 changed files with 40 additions and 8 deletions
|
@ -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 > \
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue