libraries/libotr: Updated for version 4.1.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Guillermo Bonvehi 2015-04-16 23:44:53 +07:00 committed by Willy Sudiarto Raharjo
parent 2d49311692
commit cc303b95d4
2 changed files with 11 additions and 14 deletions

View file

@ -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

View file

@ -1,8 +1,8 @@
PRGNAM="libotr"
VERSION="4.0.0"
HOMEPAGE="http://www.cypherpunks.ca/otr/"
DOWNLOAD="http://www.cypherpunks.ca/otr/libotr-4.0.0.tar.gz"
MD5SUM="00979dca82d70383fcd1b01f3974363c"
VERSION="4.1.0"
HOMEPAGE="https://otr.cypherpunks.ca/"
DOWNLOAD="https://otr.cypherpunks.ca/libotr-4.1.0.tar.gz"
MD5SUM="6589f81e7ccbe244f265e8db372814a2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""