1 # Maintainer: Thomas Zervogiannis <tzervo@gmail.com>
6 pkgdesc="An open-source package for the automatic differentiation of C and C++ programs"
7 url="http://www.coin-or.org/projects/ADOL-C.xml"
11 optdepends=('colpack: efficient handling of sparse jacobians')
13 source=(http://www.coin-or.org/download/source/ADOL-C/ADOL-C-$pkgver.tgz configure.patch aclocal.m4.patch)
14 md5sums=('5fe149865b47f77344ff910702da8b99' 'b63a380caf9b89beb1d6d3102c1ddabf' '1b633d1b948b7c7177d0b0802e5d50cd')
18 cd ${srcdir}/ADOL-C-$pkgver
19 patch ./configure ../../configure.patch
20 patch ./aclocal.m4 ../../aclocal.m4.patch
21 ./configure --enable-sparse --with-colpack=/usr --prefix=/usr --enable-shave=no
26 cd ${srcdir}/ADOL-C-${pkgver}
27 make DESTDIR="${pkgdir}" install