diff options
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 10131cedfb6db..0a69d3bf9fbcf 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 |