1 pkgname=resiprocate-svn
4 pkgdesc="is dedicated to maintaining a complete, correct, and commercially usable implementation of SIP and a few related protocols"
6 url="http://www.resiprocate.org"
12 _svntrunk=https://svn.resiprocate.org/rep/resiprocate/main
18 if [ -d $_svnmod/.svn ]; then
19 (cd $_svnmod && svn up -r $pkgver)
21 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
24 msg "SVN checkout done or server timeout"
25 msg "Starting make..."
27 rm -rf "$srcdir/$_svnmod-build"
28 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
29 cd "$srcdir/$_svnmod-build"
34 # ./configure -y --with-compile-type=opt \
35 # --enable-shared-libs \
38 # --prefix=/usr --ares-prefix=/usr
39 make resiprocate || return 1
40 make DESTDIR=$pkgdir/ INSTALL_PREFIX=/usr install-rutil install-resip && \
41 make DESTDIR=$pkgdir/ ARES_PREFIX=/usr install-ares || return 1
43 mv $pkgdir/ares $pkgdir/usr/include/