1 # Contributor: Alberto Penaforte <apenafor@gmail.com>
6 pkgdesc="SParse Object Oriented Linear Equations Solver"
8 url="http://netlib.sandia.gov/linalg/spooles"
11 source=(http://netlib.sandia.gov/linalg/spooles/${pkgname}.${pkgver}.tgz
13 md5sums=('5789ca60d1ae565a4eaef6d03ca837af'
14 '23029d3d181afa0b26499a059c8045ea')
19 make -j 3 lib || return 1
20 mkdir -p ${pkgdir}/usr/lib
21 mkdir -p ${pkgdir}/usr/include/spooles
22 cp spooles.a ${pkgdir}/usr/lib/libspooles.a
23 cp *.h ${pkgdir}/usr/include/spooles
25 if [ -d $l -a $l != 'documentation' ]
27 mkdir ${pkgdir}/usr/include/spooles/$l
28 [[ -f $l/$l.h ]] && cp $l/*.h ${pkgdir}/usr/include/spooles/$l
33 cd ${pkgdir}/usr/include/spooles