diff options
author | Luis Henrique <lmello.009@gmail.com> | 2010-08-15 23:42:21 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-08-18 14:01:17 -0500 |
commit | 0c759425f98d6ae212413a81475fc5333dc48195 (patch) | |
tree | 6594ce6248a2bd070ec035fe0b8678e18714a07f /system/gigolo/gigolo.SlackBuild | |
parent | b2baf029378e6000722fc872692f4bb3d4b9d9f6 (diff) | |
download | slackbuilds-0c759425f98d6ae212413a81475fc5333dc48195.tar.gz |
system/gigolo: Updated for version 0.4.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/gigolo/gigolo.SlackBuild')
-rw-r--r-- | system/gigolo/gigolo.SlackBuild | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/system/gigolo/gigolo.SlackBuild b/system/gigolo/gigolo.SlackBuild index 10131cedfb..0a69d3bf9f 100644 --- a/system/gigolo/gigolo.SlackBuild +++ b/system/gigolo/gigolo.SlackBuild @@ -5,16 +5,14 @@ # Written by Luis Henrique <lmello.009@gmail.com> PRGNAM=gigolo -VERSION=${VERSION:-0.4.0} +VERSION=${VERSION:-0.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -53,6 +51,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Waf-based build CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./waf configure \ @@ -69,16 +68,15 @@ if [ x"${GNOMEMOUNT:-"yes"}" = "xyes" ]; then chmod 0755 $PKG/usr/bin/gnome-mount fi +# Strip binaries and libraries find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) - -# Installation already copies all the documentation files in the 'right' place +# Compress man pages +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +# Installation already copies all documentation files in the 'right' place mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |