1 # Maintainer: Daniel Ehlers <danielehlers@mindeye.net>
5 pkgdesc="Clp (Coin-or linear programming) is an open-source linear programming solver written in C++."
7 url="https://projects.coin-or.org/Clp"
10 depends=('coin-utils>=2.7.1')
11 makedepends=('coin-utils>=2.7.1')
12 source=(http://www.coin-or.org/download/source/Clp/Clp-$pkgver.tgz)
13 md5sums=('afc91bf436f6a76a3ff56aa22cab7c48')
16 cd "$srcdir/Clp-$pkgver"
17 COIN_SKIP_PROJECTS="Sample" \
18 ./configure --prefix=/usr \
19 --with-osi-lib="`pkg-config --libs osi`" \
20 --with-osi-incdir="/usr/include/coin/" \
21 --with-coinutils-lib="`pkg-config --libs coinutils`" \
22 --with-coinutils-incdir="/usr/include/coin/" -C
27 cd "$srcdir/Clp-$pkgver"
32 cd "$srcdir/Clp-$pkgver"
33 PKG_CONFIG_LIBDIR="${pkgdir}/usr/lib/pkgconfig/" \
34 make DESTDIR="$pkgdir/" install