aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-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 c676df10b093..dee4f130aa7a 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 a3604df33dbe..a99c1c016d48 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 99939aee2948..59dd426f964b 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 22f5fe366e60..1c231f5ec963 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}"