1 # Contributor: Andreas B. Wagner <AndreasBWagner@pointfree.net>
5 pkgdesc='n2n is a layer-two peer-to-peer virtual private network (VPN) which allows users to exploit features typical of P2P applications at network instead of application level.'
7 url="http://www.ntop.org/products/n2n/"
9 depends=('uml_utilities')
10 makedepends=('subversion')
15 _svntrunk=https://svn.ntop.org/svn/ntop/trunk/n2n
21 if [ -d $_svnmod/.svn ]; then
22 (cd $_svnmod && svn up -r $pkgver)
24 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
27 msg "SVN checkout done or server timeout"
28 msg "Starting make..."
30 rm -rf "$srcdir/$_svnmod-build"
31 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
32 cd "$srcdir/$_svnmod-build/n2n_v2"
42 cd "$srcdir/$_svnmod-build/n2n_v2"
43 make PREFIX="$pkgdir/usr/" install