diff options
author | Euan Thoms <euan at potensol dot com> | 2017-11-17 21:51:45 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-11-18 12:40:35 +0700 |
commit | 7dd715f83751ad631c44da52007eefab47ba0bf0 (patch) | |
tree | d6364ff1cc4a9a4650fd1656c6955ab07eb6ee9c | |
parent | 2553bf2098d12ab05141f52aed6d15cd2d8c0645 (diff) | |
download | slackbuilds-7dd715f83751ad631c44da52007eefab47ba0bf0.tar.gz |
libraries/bzrtp: Updated for version 1.0.6.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | libraries/bzrtp/README | 2 | ||||
-rw-r--r-- | libraries/bzrtp/bzrtp.SlackBuild | 19 | ||||
-rw-r--r-- | libraries/bzrtp/bzrtp.info | 10 |
3 files changed, 20 insertions, 11 deletions
diff --git a/libraries/bzrtp/README b/libraries/bzrtp/README index d5b31dde59..86b736b3df 100644 --- a/libraries/bzrtp/README +++ b/libraries/bzrtp/README @@ -1,4 +1,4 @@ -bzrtp: bzrtp (ZRTP Key Exchange Library) +bzrtp (ZRTP Key Exchange Library) bzrtp is an opensource implementation of the ZRTP key exchange protocol. diff --git a/libraries/bzrtp/bzrtp.SlackBuild b/libraries/bzrtp/bzrtp.SlackBuild index 4a5ca95433..e537af2727 100644 --- a/libraries/bzrtp/bzrtp.SlackBuild +++ b/libraries/bzrtp/bzrtp.SlackBuild @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=bzrtp -VERSION=${VERSION:-1.0.3} +VERSION=${VERSION:-1.0.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -54,6 +54,8 @@ else LIBDIRSUFFIX="" fi +DOCS="AUTHORS COPYING ChangeLog README.md NEWS $CWD/$PRGNAM.SlackBuild" + set -e rm -rf $PKG @@ -69,6 +71,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +./autogen.sh CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ @@ -79,6 +82,10 @@ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-strict \ + --disable-static \ + --enable-shared \ + --disable-tests \ --build=$ARCH-slackware-linux make @@ -88,6 +95,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION +chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/* cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install @@ -95,4 +105,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} - diff --git a/libraries/bzrtp/bzrtp.info b/libraries/bzrtp/bzrtp.info index cda45da332..5b41df875f 100644 --- a/libraries/bzrtp/bzrtp.info +++ b/libraries/bzrtp/bzrtp.info @@ -1,10 +1,10 @@ PRGNAM="bzrtp" -VERSION="1.0.3" -HOMEPAGE="http://www.linphone.org/" -DOWNLOAD="http://download-mirror.savannah.gnu.org/releases/linphone/bzrtp/bzrtp-1.0.3.tar.gz" -MD5SUM="0d0c694e114d85420d351b94f0e9d867" +VERSION="1.0.6" +HOMEPAGE="https://github.com/BelledonneCommunications/bzrtp" +DOWNLOAD="https://www.linphone.org/releases/sources/bzrtp/bzrtp-1.0.6.tar.gz" +MD5SUM="e77a6b074bb810a02cc77a1df776fb79" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="polarssl" +REQUIRES="bctoolbox mbedtls" MAINTAINER="Euan Thoms" EMAIL="euan at potensol dot com" |