system/gigolo: Updated for version 0.4.1.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Luis Henrique 2010-08-15 23:42:21 -05:00 committed by Erik Hanson
parent b2baf02937
commit 0c759425f9
4 changed files with 14 additions and 15 deletions

View file

@ -5,4 +5,5 @@ and manage bookmarks of such.
This script installs a compatibility wrapper to /usr/bin/gnome-mount This script installs a compatibility wrapper to /usr/bin/gnome-mount
unless you pass something other than "yes" to GNOMEMOUNT when running unless you pass something other than "yes" to GNOMEMOUNT when running
the build script, e.g. GNOMEMOUNT=no ./gigolo.SlackBuild the build script, e.g. GNOMEMOUNT=no ./gigolo.SlackBuild
If you do that, then gnome-vfs is a run-time dependency.
Gvfs is an optional (but highly recommended) run-time dependency.

View file

@ -5,16 +5,14 @@
# Written by Luis Henrique <lmello.009@gmail.com> # Written by Luis Henrique <lmello.009@gmail.com>
PRGNAM=gigolo PRGNAM=gigolo
VERSION=${VERSION:-0.4.0} VERSION=${VERSION:-0.4.1}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -53,6 +51,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \; -exec chmod 644 {} \;
# Waf-based build
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./waf configure \ ./waf configure \
@ -69,16 +68,15 @@ if [ x"${GNOMEMOUNT:-"yes"}" = "xyes" ]; then
chmod 0755 $PKG/usr/bin/gnome-mount chmod 0755 $PKG/usr/bin/gnome-mount
fi fi
# Strip binaries and libraries
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man # Compress man pages
find . -type f -exec gzip -9 {} \; find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
# Installation already copies all the documentation files in the 'right' place
# Installation already copies all documentation files in the 'right' place
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,8 +1,8 @@
PRGNAM="gigolo" PRGNAM="gigolo"
VERSION="0.4.0" VERSION="0.4.1"
HOMEPAGE="http://www.uvena.de/gigolo/" HOMEPAGE="http://www.uvena.de/gigolo/"
DOWNLOAD="http://files.uvena.de/gigolo/gigolo-0.4.0.tar.bz2" DOWNLOAD="http://files.uvena.de/gigolo/gigolo-0.4.1.tar.bz2"
MD5SUM="9c8e12ca55f39c0fff7cf06732f0eb44" MD5SUM="760bdc5753768214b379733a728b0c80"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="Luis Henrique" MAINTAINER="Luis Henrique"

View file

@ -9,8 +9,8 @@
gigolo: gigolo (Remote filesystem manager) gigolo: gigolo (Remote filesystem manager)
gigolo: gigolo:
gigolo: Gigolo is a frontend to easily manage connections to remote gigolo: Gigolo is a frontend to easily manage connections to remote
gigolo: filesystems using GIO/GVfs. It allows you to quickly connect/mount a gigolo: filesystems using GIO/GVfs. It allows you to quickly connect/mount
gigolo: remote filesystem and manage bookmarks of such. gigolo: a remote filesystem and manage bookmarks of such.
gigolo: gigolo:
gigolo: Homepage: http://www.uvena.de/gigolo/ gigolo: Homepage: http://www.uvena.de/gigolo/
gigolo: gigolo: