summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Wagner <lapinours@web.de>2010-05-13 00:36:36 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-13 00:36:36 +0200
commitf41b95d3f17bad153284d95687deac6e2c057de5 (patch)
tree506aa2f1a88c8acbb98ab95817d0e2a36943dfd2
parent73915c856da5087343cc460712dbef10a66a6d09 (diff)
downloadslackbuilds-f41b95d3f17bad153284d95687deac6e2c057de5.tar.gz
network/grsync: Updated for version 0.6
-rw-r--r--network/grsync/README11
-rw-r--r--network/grsync/doinst.sh4
-rw-r--r--network/grsync/grsync.SlackBuild9
-rw-r--r--network/grsync/grsync.info2
4 files changed, 15 insertions, 11 deletions
diff --git a/network/grsync/README b/network/grsync/README
index c676df10b0..dee4f130aa 100644
--- a/network/grsync/README
+++ b/network/grsync/README
@@ -1,9 +1,4 @@
-Grsync (GUI for rsync)
-
Grsync is a GUI (Graphical User Interface) for rsync, the commandline
-directory synchronization tool.
-It is in beta stage and doesn't support all of rsync features,
-but can be effectively used to synchronize local directories
-and supports remote targets in a limited way.
-
-Homepage: http://www.opbyte.it/grsync/
+directory synchronization tool. It is in beta stage and doesn't support
+all of rsync features, but can be effectively used to synchronize local
+directories and supports remote targets in a limited way.
diff --git a/network/grsync/doinst.sh b/network/grsync/doinst.sh
index a3604df33d..a99c1c016d 100644
--- a/network/grsync/doinst.sh
+++ b/network/grsync/doinst.sh
@@ -1,3 +1,3 @@
-if [ -x usr/bin/update-desktop-database ]; then
- usr/bin/update-desktop-database -q usr/share/applications > /dev/null 2>&1
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications > /dev/null 2>&1
fi
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}
diff --git a/network/grsync/grsync.info b/network/grsync/grsync.info
index 22f5fe366e..1c231f5ec9 100644
--- a/network/grsync/grsync.info
+++ b/network/grsync/grsync.info
@@ -2,7 +2,9 @@ PRGNAM="grsync"
VERSION="0.6"
HOMEPAGE="http://www.opbyte.it/grsync/"
DOWNLOAD="http://www.opbyte.it/release/grsync-0.6.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="1d5fa63fe80e4af893b7594ff55c6003"
+MD5SUM_x86_64=""
MAINTAINER="Michael Wagner"
EMAIL="lapinours@web.de"
APPROVED="BP{k}"