summaryrefslogtreecommitdiff
path: root/network/ngircd/ngircd.SlackBuild
diff options
context:
space:
mode:
author/dev/rob0 <rob0@slackbuilds.org>2017-06-03 20:14:07 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-06 07:56:14 +0700
commit435d05aecdcc85a26e23a97e81296f0e6d142895 (patch)
treecc59571ba41a45f69c2302ee8ac92debd47dd85c /network/ngircd/ngircd.SlackBuild
parent417f09168a59788f5f988fdf11ec7d19af2eecfd (diff)
downloadslackbuilds-435d05aecdcc85a26e23a97e81296f0e6d142895.tar.gz
network/ngircd: Updated for version 24.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/ngircd/ngircd.SlackBuild')
-rw-r--r--network/ngircd/ngircd.SlackBuild16
1 files changed, 12 insertions, 4 deletions
diff --git a/network/ngircd/ngircd.SlackBuild b/network/ngircd/ngircd.SlackBuild
index 0b65a0a7e9..0b52da5332 100644
--- a/network/ngircd/ngircd.SlackBuild
+++ b/network/ngircd/ngircd.SlackBuild
@@ -5,13 +5,13 @@
# Written by /dev/rob0 <rob0@slackbuilds.org>
PRGNAM=ngircd
-VERSION=${VERSION:-21.1}
+VERSION=${VERSION:-24}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -22,8 +22,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -36,6 +36,9 @@ else
LIBDIRSUFFIX=""
fi
+do_ident="without-ident"
+[ "$IDENT" == "YES" ] && do_ident="with-ident"
+
set -e
rm -rf $PKG
@@ -62,6 +65,11 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--with-${SSLTYPE:-gnutls} \
--enable-ipv6 \
+ --with-syslog \
+ --without-tcp-wrappers \
+ --with-iconv \
+ --without-pam \
+ --${do_ident} \
--build=$ARCH-slackware-linux
make