From f41b95d3f17bad153284d95687deac6e2c057de5 Mon Sep 17 00:00:00 2001 From: Michael Wagner Date: Thu, 13 May 2010 00:36:36 +0200 Subject: network/grsync: Updated for version 0.6 --- network/grsync/grsync.SlackBuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'network/grsync/grsync.SlackBuild') diff --git a/network/grsync/grsync.SlackBuild b/network/grsync/grsync.SlackBuild index 99939aee29..59dd426f96 100644 --- a/network/grsync/grsync.SlackBuild +++ b/network/grsync/grsync.SlackBuild @@ -27,6 +27,7 @@ VERSION=0.6 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -36,8 +37,13 @@ DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README" 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 @@ -52,6 +58,7 @@ chmod -R u+w,go+r-w,a-s . CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ || exit 1 @@ -70,4 +77,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} -- cgit v1.2.3