1 # Contributor: Lex Rivera <x-demon@x-demon.org>
5 pkgdesc="Remove illegal dhcp servers with IP-pool underflow. SVN version."
7 url="http://code.google.com/p/madwimax/"
10 makedepends=('subversion')
14 _svntrunk="https://svn.codenet.ru/netpatch/dhcdrop/trunk"
19 if [ -d $_svnmod/.svn ]; then
20 (cd $_svnmod && svn up -r $pkgver)
22 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
26 msg "SVN checkout done or server timeout"
27 msg "Starting make..."
29 cp -r ./$_svnmod ./$_svnmod-build
33 ./configure --prefix=/usr
35 make DESTDIR=$pkgdir install || return 1