diff options
-rw-r--r-- | network/gnubiff/gnubiff.SlackBuild | 12 | ||||
-rw-r--r-- | network/gnubiff/gnubiff.info | 2 |
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" |