diff options
author | Michael Wagner <lapinours@web.de> | 2010-05-13 00:36:36 +0200 |
---|---|---|
committer | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-13 00:36:36 +0200 |
commit | f41b95d3f17bad153284d95687deac6e2c057de5 (patch) | |
tree | 506aa2f1a88c8acbb98ab95817d0e2a36943dfd2 /network/grsync/grsync.SlackBuild | |
parent | 73915c856da5087343cc460712dbef10a66a6d09 (diff) | |
download | slackbuilds-f41b95d3f17bad153284d95687deac6e2c057de5.tar.gz |
network/grsync: Updated for version 0.6
Diffstat (limited to 'network/grsync/grsync.SlackBuild')
-rw-r--r-- | network/grsync/grsync.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
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} |