updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / cblas / PKGBUILD
blob56748d1ef10dbb2ab5129ae6e7a1f2d7d00fc7c2
1 # $Id$
2 # Maintainer: Sebastien Binet <binet@farnsworth>
3 pkgname=cblas
4 pkgver=3.3.0
5 pkgrel=1
6 pkgdesc="C interface to the BLAS"
7 url="http://www.netlib.org/blas"
8 arch=('i686' 'x86_64')
9 license=('custom')
10 depends=('glibc' 'blas')
11 makedepends=('gcc')
12 conflicts=()
13 replaces=()
14 backup=()
15 install=
16 source=(
17   'http://www.netlib.org/blas/blast-forum/cblas.tgz' 
18   'cblas.patch' 
19   'Makefile.in'
20   'LICENSE'
22 md5sums=('716329646ac933592a7cbdbeae9d3d06'
23          'e779fc195f8f48672656522bcfd642e4'
24          'a4dc51bcd46f80b921be46f1fa855f00'
25          '38b6acb8ed5691d25863319d30a8b365')
27 build() {
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/