summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorDavid Somero <dsomero@hotmail.com>2010-05-13 00:36:06 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:36:06 +0200
commitf6bcb991ded2c26b3b1d2bc2fd7ed5f6c7439eb3 (patch)
treea796773b7c9d69ef9f83937c34a732bf7c21eb88 /network
parent279fc45cbba317aa8e5e036a2d3e8d48c22d2c8e (diff)
downloadslackbuilds-f6bcb991ded2c26b3b1d2bc2fd7ed5f6c7439eb3.tar.gz
network/dansguardian: Updated for version 2.10.0.3
Diffstat (limited to 'network')
-rw-r--r--network/dansguardian/dansguardian.SlackBuild10
-rw-r--r--network/dansguardian/dansguardian.info2
2 files changed, 9 insertions, 3 deletions
diff --git a/network/dansguardian/dansguardian.SlackBuild b/network/dansguardian/dansguardian.SlackBuild
index ee04e275f1..3240ac55d9 100644
--- a/network/dansguardian/dansguardian.SlackBuild
+++ b/network/dansguardian/dansguardian.SlackBuild
@@ -77,10 +77,13 @@ fi
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -100,7 +103,9 @@ find . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure --prefix=/usr \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--bindir=/usr/sbin \
@@ -173,5 +178,4 @@ DOINST
fi
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
-
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/dansguardian/dansguardian.info b/network/dansguardian/dansguardian.info
index 1f35656e15..3cd66ab939 100644
--- a/network/dansguardian/dansguardian.info
+++ b/network/dansguardian/dansguardian.info
@@ -3,6 +3,8 @@ VERSION="2.10.0.3"
HOMEPAGE="http://dansguardian.org/"
DOWNLOAD="http://dansguardian.org/downloads/2/Stable/dansguardian-2.10.0.3.tar.gz"
MD5SUM="68c8e9a97a3b58d2467a19cb15db5599"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="David Somero"
EMAIL="dsomero@hotmail.com"
APPROVED="rworkman"