aboutsummaryrefslogtreecommitdiff
path: root/games/xbill
diff options
context:
space:
mode:
authorMenno E. Duursma <druiloor@zonnet.nl>2010-05-13 00:27:35 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:27:35 +0200
commit2e80d85fb39df1288f713da676bf9c1c22419239 (patch)
tree3b11307d19fbaab6b40624ae0e39826ddfc1bd6e /games/xbill
parent251f9a63eee90b70ce99427ade05cdb5f571a87a (diff)
games/xbill: Updated for version 2.1
Diffstat (limited to 'games/xbill')
-rw-r--r--games/xbill/xbill.SlackBuild9
-rw-r--r--games/xbill/xbill.info2
2 files changed, 9 insertions, 2 deletions
diff --git a/games/xbill/xbill.SlackBuild b/games/xbill/xbill.SlackBuild
index 3994de1e14538..e54fc181968d5 100644
--- a/games/xbill/xbill.SlackBuild
+++ b/games/xbill/xbill.SlackBuild
@@ -27,10 +27,13 @@ FCAPS=${FCAPS:-true}
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
@@ -52,12 +55,14 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var/games \
--mandir=/usr/man \
--with-x \
--enable-motif \
--enable-athena \
- --enable-gtk
+ --enable-gtk \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
@@ -104,4 +109,4 @@ else
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/games/xbill/xbill.info b/games/xbill/xbill.info
index 773bf57ef86c0..1856f01189d37 100644
--- a/games/xbill/xbill.info
+++ b/games/xbill/xbill.info
@@ -2,7 +2,9 @@ PRGNAM="xbill"
VERSION="2.1"
HOMEPAGE="http://www.xbill.org/"
DOWNLOAD="http://www.xbill.org/download/xbill-2.1.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="585e4866b15255a24203db9959407b2f"
+MD5SUM_x86_64=""
MAINTAINER="Menno E. Duursma"
EMAIL="druiloor@zonnet.nl"
APPROVED="dsomero"