From 2e80d85fb39df1288f713da676bf9c1c22419239 Mon Sep 17 00:00:00 2001 From: "Menno E. Duursma" Date: Thu, 13 May 2010 00:27:35 +0200 Subject: [PATCH] games/xbill: Updated for version 2.1 --- games/xbill/xbill.SlackBuild | 9 +++++++-- games/xbill/xbill.info | 2 ++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/games/xbill/xbill.SlackBuild b/games/xbill/xbill.SlackBuild index 3994de1e14..e54fc18196 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 773bf57ef8..1856f01189 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"