diff options
author | Joel Adamson <adamsonj@email.unc.edu> | 2010-05-13 00:36:35 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:36:35 +0200 |
commit | 73915c856da5087343cc460712dbef10a66a6d09 (patch) | |
tree | 5cefd65c5754888e67db819308bcaf8330092f54 /network/gnubiff/gnubiff.SlackBuild | |
parent | 9f7536893110483f47d60b0f1c1e8508a5befbaf (diff) | |
download | slackbuilds-73915c856da5087343cc460712dbef10a66a6d09.tar.gz |
network/gnubiff: Updated for version 2.2.11
Diffstat (limited to 'network/gnubiff/gnubiff.SlackBuild')
-rw-r--r-- | network/gnubiff/gnubiff.SlackBuild | 12 |
1 files changed, 10 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} |