4 pkgdesc="wireless performance test tool"
6 url="http://code.google.com/p/zapwireless"
14 _svntrunk="http://zapwireless.googlecode.com/svn/trunk/"
19 msg "Downloading from ${_svntrunk} ..."
21 if [ -d ${_svnmod}/.svn ]; then
22 (cd ${_svnmod} && svn up -r ${pkgver})
24 svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
26 msg2 "SVN checkout done or server timeout"
28 msg "Creating temporary build directory..."
29 rm -Rf ${_svnmod}-build
30 cp -r ${_svnmod} ${_svnmod}-build
33 msg "Building and installing..."
35 mkdir -p ${pkgdir}/usr/bin
36 make DESTDIR=${pkgdir} install
38 msg "Removing build directory..."
40 rm -Rf ${_svnmod}-build