updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / cudpp / PKGBUILD
blob0250964a0b107c7df8a530dec8bfb55963ee546e
1 # Contributor: Jan Stępień <jstepien@users.sourceforge.net>
3 pkgname=cudpp
4 pkgver=1.1.1
5 pkgrel=1
6 pkgdesc="The CUDA Data Parallel Primitives Library"
7 arch=('i686' 'x86_64')
8 url="http://gpgpu.org/developer/cudpp"
9 license=('BSD')
10 depends=('cuda-toolkit')
11 source=(http://cudpp.googlecode.com/files/${pkgname}_src_${pkgver}.zip
12   nvccflags.patch)
13 sha1sums=(d9f2e219788a59c14089baf7df209196806d4cb3
14   8bbd554269cab39cdd9f6411d12c75d8fe6ade23)
16 build() {
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