diff options
author | David Somero <dsomero@hotmail.com> | 2010-05-13 00:36:06 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:36:06 +0200 |
commit | f6bcb991ded2c26b3b1d2bc2fd7ed5f6c7439eb3 (patch) | |
tree | a796773b7c9d69ef9f83937c34a732bf7c21eb88 /network/dansguardian/dansguardian.SlackBuild | |
parent | 279fc45cbba317aa8e5e036a2d3e8d48c22d2c8e (diff) |
network/dansguardian: Updated for version 2.10.0.3
Diffstat (limited to 'network/dansguardian/dansguardian.SlackBuild')
-rw-r--r-- | network/dansguardian/dansguardian.SlackBuild | 10 |
1 files changed, 7 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} |