1 # Maintainer: Martin R. <mr-ger [at] hotmail [dot] com>
2 pkgname=cpyrit-calpp-svn
5 pkgdesc="CAL++ backend for accelerated attack against WPA-PSK authentication, development version"
6 url="http://code.google.com/p/pyrit/"
9 depends=('python2' 'catalyst-utils' 'pyrit-svn')
10 makedepends=('calpp' 'boost')
11 conflicts=('cpyrit-opencl-svn')
13 _svntrunk='http://pyrit.googlecode.com/svn/trunk'
14 _svnmod='cpyrit_calpp'
15 _caldir='/usr/include/CAL/'
18 svn co "${_svntrunk}/${_svnmod}"
22 sed -i "s|VERSION = '0.4.0-dev'|VERSION = '0.4.1-dev'|" setup.py
23 sed -i "s|CALPP_INC_DIRS = \[\]|CALPP_INC_DIRS = \[\'${_caldir}\'\]|" setup.py
24 LDFLAGS="" python2 setup.py build
28 cd "${srcdir}/${_svnmod}"
29 python2 setup.py install --root="${pkgdir}" --optimize=1