1 # Maintainer: Gregor Burger <burger.gregor at gmail>
5 pkgdesc="Cusp is a library for sparse linear algebra and graph computations on CUDA."
7 url="http://code.google.com/p/thrust/"
9 depends=('cuda>=3.0' 'thrust>=1.3')
10 source=("http://cusp-library.googlecode.com/files/cusp-v0.1.2.zip")
11 md5sums=('bd8bae74311079ed1f361e4300f6be76')
14 mkdir -p $pkgdir/usr/include
15 cp -R $srcdir/cusp $pkgdir/usr/include/
16 #remove non-include files
17 rm $pkgdir/usr/include/cusp/CHANGELOG
18 rm $pkgdir/usr/include/cusp/README
19 rm $pkgdir/usr/include/cusp/LICENSE
20 # set environment variable
21 mkdir -p $pkgdir/etc/profile.d
22 echo "export CUSP_PATH=/usr/include" > $pkgdir/etc/profile.d/cusp.sh
23 chmod a+x $pkgdir/etc/profile.d/cusp.sh