summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Adamson <adamsonj@email.unc.edu>2010-05-13 00:36:35 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:36:35 +0200
commit73915c856da5087343cc460712dbef10a66a6d09 (patch)
tree5cefd65c5754888e67db819308bcaf8330092f54
parent9f7536893110483f47d60b0f1c1e8508a5befbaf (diff)
downloadslackbuilds-73915c856da5087343cc460712dbef10a66a6d09.tar.gz
network/gnubiff: Updated for version 2.2.11
-rw-r--r--network/gnubiff/gnubiff.SlackBuild12
-rw-r--r--network/gnubiff/gnubiff.info2
2 files changed, 12 insertions, 2 deletions
diff --git a/network/gnubiff/gnubiff.SlackBuild b/network/gnubiff/gnubiff.SlackBuild
index 065a45da9a..369cd05c8b 100644
--- a/network/gnubiff/gnubiff.SlackBuild
+++ b/network/gnubiff/gnubiff.SlackBuild
@@ -27,17 +27,24 @@ VERSION=2.2.11
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL LICENSE NEWS README THANKS TODO"
+DOCS="ABOUT-NLS AUTHORS BUGS COPYING ChangeLog
+ INSTALL LICENSE NEWS README THANKS TODO"
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
rm -rf $PKG
@@ -53,6 +60,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--infodir=/usr/info \
--disable-gnome \
@@ -80,4 +88,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
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/network/gnubiff/gnubiff.info b/network/gnubiff/gnubiff.info
index ba504f01c1..3f7a126737 100644
--- a/network/gnubiff/gnubiff.info
+++ b/network/gnubiff/gnubiff.info
@@ -2,7 +2,9 @@ PRGNAM="gnubiff"
VERSION="2.2.11"
HOMEPAGE="http://gnubiff.sourceforge.net"
DOWNLOAD="http://downloads.sourceforge.net/gnubiff/gnubiff-2.2.11.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="d9e899f25b1e83081ccd3ac97ee31b8b"
+MD5SUM_x86_64=""
MAINTAINER="Joel Adamson"
EMAIL="adamsonj@email.unc.edu"
APPROVED="dsomero"