libraries/libotr: Updated for version 3.2.0
This commit is contained in:
parent
632c9eaf9b
commit
b93656bb08
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue