diff options
author | Guillermo Bonvehi <gbonvehi@gmail.com> | 2015-04-16 23:44:53 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-04-17 00:38:49 +0700 |
commit | cc303b95d421c213756b959a034120e9650bba85 (patch) | |
tree | d5d78aff801a8fffa5f8dd1f0043f92fd8b4ae11 /libraries/libotr/libotr.SlackBuild | |
parent | 2d493116923c5952d2fef845dd79f2bbc2e2f6ad (diff) | |
download | slackbuilds-cc303b95d421c213756b959a034120e9650bba85.tar.gz |
libraries/libotr: Updated for version 4.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libotr/libotr.SlackBuild')
-rw-r--r-- | libraries/libotr/libotr.SlackBuild | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/libraries/libotr/libotr.SlackBuild b/libraries/libotr/libotr.SlackBuild index ee96dc6ae5..aacfc8fb5b 100644 --- a/libraries/libotr/libotr.SlackBuild +++ b/libraries/libotr/libotr.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libotr -# Copyright 2007-2013 by Guillermo Bonvehi (gbonvehi@gmail.com) +# Copyright 2007-2015 by Guillermo Bonvehi (gbonvehi@gmail.com) # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libotr -VERSION=4.0.0 +VERSION=${VERSION:-4.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -67,7 +67,7 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -83,17 +83,14 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 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 -) +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - README AUTHORS COPYING* ChangeLog INSTALL NEWS UPGRADING Protocol-v3.html \ +cp -a README AUTHORS COPYING* ChangeLog INSTALL NEWS UPGRADING Protocol-v3.html \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |