aboutsummaryrefslogtreecommitdiff
path: root/network/dansguardian
diff options
context:
space:
mode:
Diffstat (limited to 'network/dansguardian')
-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 ee04e275f17ff..3240ac55d9e82 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 1f35656e152d3..3cd66ab939553 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"