libraries/libotr: Updated for version 4.0.0.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Guillermo Bonvehi 2013-03-11 19:29:53 -04:00 committed by dsomero
parent 704984a2f1
commit 39edaba020
3 changed files with 12 additions and 13 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for libotr
# Copyright 2007 by Guillermo Bonvehi (gbonvehi@gmail.com)
# Copyright 2007-2013 by Guillermo Bonvehi (gbonvehi@gmail.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libotr
VERSION=3.2.0
VERSION=4.0.0
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
@ -71,6 +69,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--mandir=/usr/man \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
@ -90,7 +89,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
README AUTHORS COPYING* ChangeLog INSTALL NEWS UPGRADING Protocol-v2.html \
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="3.2.0"
VERSION="4.0.0"
HOMEPAGE="http://www.cypherpunks.ca/otr/"
DOWNLOAD="http://www.cypherpunks.ca/otr/libotr-3.2.0.tar.gz"
MD5SUM="faba02e60f64e492838929be2272f839"
DOWNLOAD="http://www.cypherpunks.ca/otr/libotr-4.0.0.tar.gz"
MD5SUM="00979dca82d70383fcd1b01f3974363c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View file

@ -1,9 +1,9 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
libotr: libotr (OTR Messaging Library and Toolkit)