1 # Maintainer: YL3DY <yl3gdy at archlinux dot us>
7 url="http://www.browndeertechnology.com/coprthr.htm"
9 depends=('opencl-headers' 'libcl')
11 source=("https://github.com/browndeer/${pkgname}/tarball/v${pkgver}-rc1")
12 md5sums=('deeeee35ab582a532c303056a52b8f05')
14 pkgdesc="The CO-PRocessing THReads (COPRTHR) SDK provides several OpenCL-related libraries and tools."
17 cd $srcdir/browndeer-${pkgname}-bac0c8a
19 ./configure --prefix=/usr \
25 cd $srcdir/browndeer-${pkgname}-bac0c8a/
26 make MAKE=make prefix="$pkgdir/usr/" install
29 mkdir -p usr/share/$pkgname
31 mv usr/install-message.txt usr/share/$pkgname
34 # tidy docs and examples
35 mv usr/doc/ usr/share/$pkgname/
36 mv usr/examples/ usr/share/$pkgname/
37 mv usr/test/ usr/share/$pkgname/
40 sed 's/gmake/make/g' usr/share/$pkgname/test/Makefile > tmp
41 mv tmp usr/share/$pkgname/test/Makefile
42 sed 's/gmake/make/g' usr/share/$pkgname/test/Makefile.in > tmp
43 mv tmp usr/share/$pkgname/test/Makefile.in