updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / adol-c / PKGBUILD
blob1ff8f94f5e8c0bf103632b8fcc2fa89ef369d250
1 # Maintainer:  Thomas Zervogiannis <tzervo@gmail.com>
3 pkgname=adol-c
4 pkgver=2.2.1
5 pkgrel=1
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"
8 arch=('any')
9 license=('GPL')
10 depends=()
11 optdepends=('colpack: efficient handling of sparse jacobians')
12 makedepends=(colpack)
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')
17 build() {
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
22     make
25 package() {
26     cd ${srcdir}/ADOL-C-${pkgver}
27     make DESTDIR="${pkgdir}" install