4 pkgdesc="Linphone is an internet phone or Voice Over IP phone (VoIP)."
6 url="http://www.linphone.org/"
8 depends=('gtk2' 'mediastreamer-git' 'libexosip2')
11 conflicts=('linphone')
14 _gitroot="git://git.linphone.org/linphone.git"
19 msg "Connecting to GIT server...."
21 if [ -d $startdir/src/$_gitname ] ; then
22 cd $_gitname && git config remote.origin.url $_gitroot && git pull origin
23 msg "The local files are updated."
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf $srcdir/$_gitname-build
32 cp -r $srcdir/$_gitname $srcdir/$_gitname-build
33 cd $srcdir/$_gitname-build
35 # autogen.sh does not check if they exists or not...
36 mkdir -p oRTP mediastreamer2
37 touch oRTP/autogen.sh mediastreamer2/autogen.sh
38 chmod +x oRTP/autogen.sh mediastreamer2/autogen.sh
41 ./configure --prefix=/usr --enable-external-ortp --enable-external-mediastreamer
46 cd $srcdir/$_gitname-build
47 make DESTDIR=$pkgdir install