4 pkgdesc="A tool for flashing (nearly) all ap51/ap61 based routers."
6 url="http://dev.open-mesh.com/"
9 makedepends=('subversion')
10 provides=('ap51-flash')
11 conflicts=('ap51-flash') # doesn't really exist, but might be created...
15 _svntrunk="http://dev.cloudtrax.com/downloads/svn/ap51-flash/trunk/"
20 msg "Connecting to SVN server...."
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 cp -r $_svnmod $_svnmod-build
32 make PLATFORM=LINUX || return 1
33 install -d ${pkgdir}/usr/sbin
34 install -t ${pkgdir}/usr/sbin ap51-flash