aboutsummaryrefslogtreecommitdiff
path: root/network/linphone/linphone.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/linphone/linphone.SlackBuild')
-rw-r--r--network/linphone/linphone.SlackBuild17
1 files changed, 6 insertions, 11 deletions
diff --git a/network/linphone/linphone.SlackBuild b/network/linphone/linphone.SlackBuild
index f9bd243aaf62..93464767071e 100644
--- a/network/linphone/linphone.SlackBuild
+++ b/network/linphone/linphone.SlackBuild
@@ -1,20 +1,17 @@
#!/bin/bash
# Slackware build script for linphone
-# was written by adev and modified
-# by Eugene Wissner <belka.ew@gmail.com>
+# Was written by adev and modified by Eugene Wissner <eugen@flevum.de>
PRGNAM=linphone
-VERSION=${VERSION:-3.3.2}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.4.3}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -80,10 +77,8 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
DOCS="ABOUT-NLS AUTHORS BUGS COPYING ChangeLog \
INSTALL NEWS README TODO $CWD/$PRGNAM.SlackBuild"
@@ -97,4 +92,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}