summaryrefslogtreecommitdiff
path: root/libraries/libotr
diff options
context:
space:
mode:
authorGuillermo Bonvehi <gbonvehi@gmail.com>2010-05-12 17:41:39 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:41:39 +0200
commitb93656bb08973c3b93a83b68e4bf5fb4d9cc0dd5 (patch)
tree454bf1642e0b81709ea552babe2c95eb17f3605a /libraries/libotr
parent632c9eaf9b6a97fd5abb19f15d25e34685aafd99 (diff)
downloadslackbuilds-b93656bb08973c3b93a83b68e4bf5fb4d9cc0dd5.tar.gz
libraries/libotr: Updated for version 3.2.0
Diffstat (limited to 'libraries/libotr')
-rw-r--r--libraries/libotr/libotr.SlackBuild19
-rw-r--r--libraries/libotr/libotr.info6
2 files changed, 16 insertions, 9 deletions
diff --git a/libraries/libotr/libotr.SlackBuild b/libraries/libotr/libotr.SlackBuild
index 347a5eec3a..394d15eb24 100644
--- a/libraries/libotr/libotr.SlackBuild
+++ b/libraries/libotr/libotr.SlackBuild
@@ -23,10 +23,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libotr
-VERSION=3.1.0
+VERSION=3.2.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -36,6 +37,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e
@@ -55,14 +58,17 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --enable-static=no
+ --enable-static=no \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
)
( cd $PKG/usr/man
@@ -71,8 +77,9 @@ make install DESTDIR=$PKG
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS UPGRADING \
- Protocol-v2.html $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README AUTHORS COPYING* ChangeLog INSTALL NEWS UPGRADING Protocol-v2.html \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/libotr/libotr.info b/libraries/libotr/libotr.info
index 5cc88eadb2..cc2fa8b83c 100644
--- a/libraries/libotr/libotr.info
+++ b/libraries/libotr/libotr.info
@@ -1,8 +1,8 @@
PRGNAM="libotr"
-VERSION="3.1.0"
+VERSION="3.2.0"
HOMEPAGE="http://www.cypherpunks.ca/otr/"
-DOWNLOAD="http://www.cypherpunks.ca/otr/libotr-3.1.0.tar.gz"
-MD5SUM="6266a2966cc9e00822add3175b0b77cf"
+DOWNLOAD="http://www.cypherpunks.ca/otr/libotr-3.2.0.tar.gz"
+MD5SUM="faba02e60f64e492838929be2272f839"
MAINTAINER="Guillermo Bonvehi"
EMAIL="gbonvehi@gmail.com"
APPROVED="rworkman"