diff options
author | Menno Duursma <druiloor@zonnet.nl> | 2010-05-13 00:36:14 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:36:14 +0200 |
commit | d86c50504c2b2c9e08ec12ea9f43c3f3c271c0ba (patch) | |
tree | 40d82222e879087d133b82af9531a8593a3cc135 /network/dnstracer/dnstracer.SlackBuild | |
parent | ee4727e4f695ed7c49626d740fff17d68abfea3a (diff) |
network/dnstracer: Updated for version 1.9
Diffstat (limited to 'network/dnstracer/dnstracer.SlackBuild')
-rw-r--r-- | network/dnstracer/dnstracer.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/network/dnstracer/dnstracer.SlackBuild b/network/dnstracer/dnstracer.SlackBuild index 03b6a1dc1364..18b67d42bc17 100644 --- a/network/dnstracer/dnstracer.SlackBuild +++ b/network/dnstracer/dnstracer.SlackBuild @@ -13,6 +13,7 @@ VERSION=${VERSION:-1.9} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -20,10 +21,13 @@ OUTPUT=${OUTPUT:-/tmp} 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 # Exit on most errors @@ -45,6 +49,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man make @@ -66,4 +71,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc 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} |