libraries/belle-sip: Updated for version 1.6.3.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Euan Thoms 2017-11-17 22:03:21 +00:00 committed by Willy Sudiarto Raharjo
parent 7dd715f837
commit ba231f2ca5
4 changed files with 25 additions and 20 deletions

View File

@ -1 +1 @@
Belle-sip is a C object oriented SIP Stack.
belle-sip is a C object oriented SIP Stack used by linphone.

View File

@ -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

View File

@ -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"

View File

@ -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: