diff options
author | Euan Thoms <euan at potensol dot com> | 2017-11-17 22:03:21 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-11-18 12:40:36 +0700 |
commit | ba231f2ca5dfb38147f66285d003ae90199f6e30 (patch) | |
tree | 424201be22ffb0b8d84fe425a3688a20fd7c67e6 | |
parent | 7dd715f83751ad631c44da52007eefab47ba0bf0 (diff) |
libraries/belle-sip: Updated for version 1.6.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | libraries/belle-sip/README | 2 | ||||
-rw-r--r-- | libraries/belle-sip/belle-sip.SlackBuild | 27 | ||||
-rw-r--r-- | libraries/belle-sip/belle-sip.info | 12 | ||||
-rw-r--r-- | libraries/belle-sip/slack-desc | 4 |
4 files changed, 25 insertions, 20 deletions
diff --git a/libraries/belle-sip/README b/libraries/belle-sip/README index 61035eedc4036..1f4bada577e19 100644 --- a/libraries/belle-sip/README +++ b/libraries/belle-sip/README @@ -1 +1 @@ -Belle-sip is a C object oriented SIP Stack. +belle-sip is a C object oriented SIP Stack used by linphone. diff --git a/libraries/belle-sip/belle-sip.SlackBuild b/libraries/belle-sip/belle-sip.SlackBuild index b37b90d481fb2..60a6869a5c8e5 100644 --- a/libraries/belle-sip/belle-sip.SlackBuild +++ b/libraries/belle-sip/belle-sip.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware build script for ccrtp +# Slackware build script for belle-sip # Was written by Euan Thoms <euan at potensol dot com> # Copyright 2014 Euan Thoms United Kingdom @@ -24,13 +24,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=belle-sip -VERSION=${VERSION:-1.4.2} +VERSION=${VERSION:-1.6.3} +SRCDIRNAM=${PRGNAM}-${VERSION}-0 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 @@ -41,8 +42,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" @@ -55,17 +56,21 @@ else LIBDIRSUFFIX="" fi -DOCS="AUTHORS COPYING INSTALL NEWS README $CWD/$PRGNAM.SlackBuild" +DOCS="AUTHORS COPYING ChangeLog NEWS README.md $CWD/$PRGNAM.SlackBuild" set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cp $CWD/antlr-*-complete.jar $PRGNAM-$VERSION/antlr.jar -cd $PRGNAM-$VERSION +rm -rf ${PRGNAM}-${VERSION} +tar xvf $CWD/${PRGNAM}-${VERSION}.tar.gz +if [ "${SRCDIRNAM}" != "${PRGNAM}-${VERSION}" ] +then + mv ${SRCDIRNAM} ${PRGNAM}-${VERSION} +fi +cp $CWD/antlr-*-complete.jar ${PRGNAM}-${VERSION}/antlr.jar +cd ${PRGNAM}-${VERSION} chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -73,7 +78,6 @@ 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 {} \; - # Ensure java is in $PATH export PATH=$PATH:/usr/lib${LIBDIRSUFFIX}/java/bin @@ -102,6 +106,7 @@ CPPFLAGS="${CPPFLAGS} -I/usr/include/antlr3" \ --disable-silent-rules \ --disable-static \ --disable-tests \ + --enable-tls \ --with-antlr=/usr \ --build=$ARCH-slackware-linux diff --git a/libraries/belle-sip/belle-sip.info b/libraries/belle-sip/belle-sip.info index 9f19d34a4006c..569fc87741561 100644 --- a/libraries/belle-sip/belle-sip.info +++ b/libraries/belle-sip/belle-sip.info @@ -1,12 +1,12 @@ PRGNAM="belle-sip" -VERSION="1.4.2" +VERSION="1.6.3" HOMEPAGE="http://www.linphone.org/technical-corner/belle-sip.html" -DOWNLOAD="http://download.savannah.gnu.org/releases/linphone/belle-sip/belle-sip-1.4.2.tar.gz \ - http://github.com/antlr/website-antlr3/raw/gh-pages/download/antlr-3.4-complete.jar" -MD5SUM="dbb58649225adefbad87241141fbea93 \ - 1b91dea1c7d480b3223f7c8a9aa0e172" +DOWNLOAD="https://www.linphone.org/releases/sources/belle-sip/belle-sip-1.6.3.tar.gz \ + https://github.com/antlr/website-antlr3/raw/gh-pages/download/antlr-3.4-complete.jar" +MD5SUM="90c40812d98671ad2f40621542500bc6 \ + 1b91dea1c7d480b3223f7c8a9aa0e172" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="libantlr3c jdk" +REQUIRES="bctoolbox jdk libantlr3c mbedtls" MAINTAINER="Euan Thoms" EMAIL="euan at potensol dot com" diff --git a/libraries/belle-sip/slack-desc b/libraries/belle-sip/slack-desc index b764e7816e023..1ae0797e4d385 100644 --- a/libraries/belle-sip/slack-desc +++ b/libraries/belle-sip/slack-desc @@ -8,9 +8,9 @@ |-----handy-ruler------------------------------------------------------| belle-sip: belle-sip (A Voice-over-IP phone) belle-sip: -belle-sip: Belle-sip is a C object oriented SIP Stack. +belle-sip: Belle-SIP is a C object oriented SIP Stack used by Linphone. belle-sip: -belle-sip: http://www.linphone.org/ +belle-sip: http://www.linphone.org/technical-corner/belle-sip/overview belle-sip: belle-sip: belle-sip: |