summaryrefslogtreecommitdiff
path: root/community/cuda-toolkit
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-29 23:15:03 +0000
committerroot <root@rshg054.dnsready.net>2012-01-29 23:15:03 +0000
commit39711f3264d3b9de2ff6392649274d6333932457 (patch)
treede0577b44ca853064f52a0df25ee9f22efd756bc /community/cuda-toolkit
parent738e6c6d93b4c7118e49b38c610abed8b7f7d55a (diff)
Sun Jan 29 23:15:02 UTC 2012
Diffstat (limited to 'community/cuda-toolkit')
-rw-r--r--community/cuda-toolkit/PKGBUILD20
1 files changed, 8 insertions, 12 deletions
diff --git a/community/cuda-toolkit/PKGBUILD b/community/cuda-toolkit/PKGBUILD
index a37c7f8a8..1612ba93e 100644
--- a/community/cuda-toolkit/PKGBUILD
+++ b/community/cuda-toolkit/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=cuda-toolkit
-pkgver=4.1.21
-pkgrel=3
+pkgver=4.1.28
+pkgrel=1
_fedver=14
pkgdesc="NVIDIA's GPU programming toolkit"
arch=('i686' 'x86_64')
@@ -9,20 +9,21 @@ arch=('i686' 'x86_64')
url="http://www.nvidia.com/object/cuda_home.html"
license=('custom')
depends=('gcc-libs' 'opencl-nvidia')
+optdepends=('gdb: for cuda-gdb')
if [ "$CARCH" = "i686" ]; then
_arch=32
- md5sums=('930b7bfd1a162335b909f119a004f6d7'
+ md5sums=('835d403e86f4b014b348c587ffb23c0d'
'5af5226b36cd3f9993f762f85b5d236a'
'c0781c63e726eaf03e10135b42b85729')
else
_arch=64
- md5sums=('509c795b9b79f991e045a83576e2e2f3'
+ md5sums=('c82103da07d0e96f3d65d7b308b74446'
'5af5226b36cd3f9993f762f85b5d236a'
'c0781c63e726eaf03e10135b42b85729')
fi
install=cuda-toolkit.install
-source=(http://developer.download.nvidia.com/compute/cuda/4_1/RC2/toolkit/cudatoolkit_${pkgver}_linux_${_arch}_fedora${_fedver}.run
+source=(http://developer.download.nvidia.com/compute/cuda/4_1/rel/toolkit/cudatoolkit_${pkgver}_linux_${_arch}_fedora${_fedver}.run
cuda-toolkit.sh
cuda-toolkit.conf)
@@ -42,12 +43,7 @@ package() {
install -Dm644 cuda-toolkit.conf $pkgdir/etc/ld.so.conf.d/cuda-toolkit.conf
install -Dm644 $pkgdir/opt/cuda-toolkit/doc/EULA.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
- # Fixes FS#27841
- cd $pkgdir/opt/cuda-toolkit/lib
+ mkdir -p $pkgdir/usr/lib
+ cd $pkgdir/usr/lib
ln -s /usr/lib/libncurses.so.5 libtinfo.so.5
-
- if [[ $CARCH == "x86_64" ]]; then
- cd $pkgdir/opt/cuda-toolkit/lib64
- ln -s /usr/lib/libncurses.so.5 libtinfo.so.5
- fi
}