1 # Maintainer: Stunts <f.pinamartins@gmail.com>
6 pkgdesc="A general purpose library for evaluating the likelihood of sequence evolution on trees."
8 url="http://code.google.com/p/beagle-lib/"
10 depends=('libltdl' 'gcc-libs-multilib')
11 optdepends=('cuda-toolkit: for doing calculations on the GPU' 'openjdk6: for usage with BEAST')
14 _svntrunk="http://beagle-lib.googlecode.com/svn/trunk/"
18 msg "Starting SVN checkout..."
20 if [ -d $_svnmod/.svn ]; then
21 (cd $_svnmod && svn up -r $pkgver)
23 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
25 msg "SVN checkout done or server timeout"
27 msg "Creating build copy..."
28 if [ -d ${srcdir}/$_svnmod-build ]; then
32 cp -r $_svnmod $_svnmod-build
35 if [ pacman -Q cuda-toolkit |grep -v error]
37 ./configure --with-cuda=/opt/cuda-toolkit/ --prefix=/usr
39 ./configure --with-cuda=no --prefix=/usr
46 make DESTDIR=${pkgdir} install