1 # Contributor: Ilya Mezhirov <mezhirov@gmail.com>
3 pkgname=suitesparse-lgpl
6 pkgdesc="A collection of sparse matrix libraries (LGPL-compatible only)"
7 url="http://www.cise.ufl.edu/research/sparse/SuiteSparse/"
9 conflicts=('suitesparse' 'umfpack')
11 makedepends=('gcc-fortran')
13 source=(http://www.cise.ufl.edu/research/sparse/SuiteSparse/SuiteSparse-$pkgver.tar.gz UFconfig.patch Makefile.patch)
14 md5sums=('88a44890e8f61cdbb844a76b7259d876'
15 '87b75277c4d7faf04812e1a811f24f09'
16 'fe928afba56becb1f7404fcf33642d0a')
20 cd "$srcdir/SuiteSparse"
21 patch -p1 <"${srcdir}/UFconfig.patch" || return 1
22 patch -p1 <"${srcdir}/Makefile.patch" || return 1
24 LIBDIR="${pkgdir}/usr/lib"
25 INCDIR="${pkgdir}/usr/include/suitesparse"
29 make install || return 1
31 chmod 644 "$LIBDIR"/* "$INCDIR"/*