1 # Maintainer: Giuseppe Borzi <gborzi _AT_ ieee _DOT_ org>
6 pkgdesc="The fastest implementations of the Basic Linear Algebra Subroutines"
8 url="http://www.tacc.utexas.edu/tacc-projects/gotoblas2/"
12 provides=('blas=3.2.2')
14 optdepends=('lapack4goto: trimmed down lapack library')
16 source=(http://cms.tacc.utexas.edu/fileadmin/images/$_pkgname-$pkgver.tar.gz
18 md5sums=('2e29b8449a85de9e08d337736ba72274'
19 '1c8229a2e8a515a99cd88937c5f84113')
22 cd "$srcdir/$_pkgname"
24 patch -Np1 -i "$srcdir/fixlink.patch"
27 # add TARGET=NEHALEM to the make line if you have a Xeon
28 # like this: make NO_CBLAS=1 NOFORTRAN=1 TARGET=NEHALEM
29 make NO_CBLAS=1 NOFORTRAN=1
33 cd "$srcdir/$_pkgname"
35 install -dm755 $pkgdir/usr/include/goto2
36 install -m644 *.h $pkgdir/usr/include/goto2
37 install -Dm644 00License.txt $pkgdir/usr/share/licenses/$pkgname/License.txt
38 install -dm755 $pkgdir/usr/lib
39 cp -d lib* $pkgdir/usr/lib
40 ln -s libgoto2.so $pkgdir/usr/lib/libblas.so.3
41 ln -s libgoto2.a $pkgdir/usr/lib/libblas.a
42 ln -sf libblas.so.3 $pkgdir/usr/lib/libblas.so
45 # vim:set ts=2 sw=2 et: