games/xbill: Updated for version 2.1

This commit is contained in:
Menno E. Duursma 2010-05-13 00:27:35 +02:00 committed by David Somero
parent 251f9a63ee
commit 2e80d85fb3
2 changed files with 9 additions and 2 deletions

View file

@ -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}

View file

@ -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"