2 # Maintainer: Sebastien Binet <binet@farnsworth>
6 pkgdesc="C interface to the BLAS"
7 url="http://www.netlib.org/blas"
10 depends=('glibc' 'blas')
17 'http://www.netlib.org/blas/blast-forum/cblas.tgz'
22 md5sums=('716329646ac933592a7cbdbeae9d3d06'
23 'e779fc195f8f48672656522bcfd642e4'
24 'a4dc51bcd46f80b921be46f1fa855f00'
25 '38b6acb8ed5691d25863319d30a8b365')
28 cd $startdir/src/CBLAS
30 /bin/cp $startdir/Makefile.in .
31 patch -p0 < $startdir/cblas.patch
33 install -d $startdir/src/CBLAS/src/lib
35 install -d $startdir/pkg/usr/lib
36 install -d $startdir/pkg/usr/include
38 make alllib || return 1
40 install -m755 $startdir/src/CBLAS/src/lib/* $startdir/pkg/usr/lib
41 install -m644 $startdir/src/CBLAS/src/cblas.h $startdir/pkg/usr/include
43 install -m755 -d $startdir/pkg/usr/share/licenses/cblas
44 install -m644 $startdir/LICENSE $startdir/pkg/usr/share/licenses/cblas/