1 # Maintainer: Daniel Fiser <danfis@danfis.cz>
5 pkgdesc="Ipopt (Interior Point OPTimizer) is a software package for large-scale nonlinear optimization."
7 url="https://projects.coin-or.org/Ipopt"
16 source=(http://www.coin-or.org/download/source/Ipopt/Ipopt-$pkgver.tgz)
18 md5sums=('a8787bc3ee28ec2236630ddf0ca2065e')
21 export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$startdir/src/Ipopt-$pkgver/ThirdParty/Metis/:$startdir/src/Ipopt-$pkgver/ThirdParty/Mumps/:$startdir/src/Ipopt-$pkgver/ThirdParty/HSL/:$startdir/src/Ipopt-$pkgver/Ipopt
23 cd $startdir/src/Ipopt-$pkgver;
32 ./configure --prefix=/usr
35 make DESTDIR=$startdir/pkg install
37 mkdir -p $startdir/pkg/etc/ld.so.conf.d/
38 cd $startdir/pkg/etc/ld.so.conf.d/
39 echo "/usr/lib/coin" >ipopt.conf
40 echo "/usr/lib/coin/ThirdParty" >>ipopt.conf