1 # Contributor: Jan Stępień <jstepien@users.sourceforge.net>
6 pkgdesc="The CUDA Data Parallel Primitives Library"
8 url="http://gpgpu.org/developer/cudpp"
10 depends=('cuda-toolkit')
11 source=(http://cudpp.googlecode.com/files/${pkgname}_src_${pkgver}.zip
13 sha1sums=(d9f2e219788a59c14089baf7df209196806d4cb3
14 8bbd554269cab39cdd9f6411d12c75d8fe6ade23)
17 cd $srcdir/${pkgname}_src_${pkgver}
18 patch -Np1 -i $srcdir/nvccflags.patch || return 1
19 msg "Done patching, starting make"
21 cd $srcdir/${pkgname}_src_${pkgver}/cudpp
22 make verbose=1 || return 1
24 mkdir -p $pkgdir/usr/{lib,include} || return 1
25 install -m 644 $srcdir/${pkgname}_src_${pkgver}/lib/libcudpp_*.a \
26 $pkgdir/usr/lib/libcudpp.a || return 1
27 install -m 644 $srcdir/${pkgname}_src_${pkgver}/cudpp/include/cudpp.h \
28 $pkgdir/usr/include || return 1