1 # Contributor: Ilya Mezhirov <mezhirov at gmail com>
5 pkgdesc="An SDP optimizer based on primal-dual interior point method"
7 url="http://sdpa.indsys.chuo-u.ac.jp/sdpa/index.html"
10 depends=('blas' 'lapack') # ('atlas-lapack') also might work
11 makedepends=('automake' 'autoconf')
19 source=(http://sdpa.indsys.chuo-u.ac.jp/sdpa/files/sdpa.7.3.1.src-20090729.tar.gz)
21 md5sums=(5b687cd3a08c57cc8140f9f5d71a8bf9) #generate with 'makepkg -g'
24 cd "$srcdir/$pkgname.$pkgver.src"
26 patch -Np1 <../../sdpa-dir-fix.patch || return 1
27 patch -Np1 <../../sdpa-param-fix.patch || return 1
29 # The main Makefile runs another Makefile to build MUMPS,
30 # and this second Makefile uses grep and cut
31 # to find options in the first Makefile
32 # and transplant them into the MUMPS Makefile.
33 # What could possibly go wrong?
34 patch -Np1 <../../sdpa-mumps-fix.patch || return 1
40 ./configure --prefix=/usr
42 make DESTDIR="$pkgdir/" install
45 # vim:set ts=2 sw=2 et: