updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / coin-clp / PKGBUILD
blobd357caf8ca3d429723deddf1711103e3abbaaaf2
1 # Maintainer: Daniel Ehlers <danielehlers@mindeye.net>
2 pkgname=coin-clp
3 pkgver=1.13.3
4 pkgrel=2
5 pkgdesc="Clp (Coin-or linear programming) is an open-source linear programming solver written in C++."
6 arch=('i686')
7 url="https://projects.coin-or.org/Clp"
8 license=('EPL')
9 groups=('coin-or')
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')
15 build() {
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
23   make
26 check() {
27   cd "$srcdir/Clp-$pkgver"
28   make test
31 package() {
32   cd "$srcdir/Clp-$pkgver"
33   PKG_CONFIG_LIBDIR="${pkgdir}/usr/lib/pkgconfig/" \
34   make DESTDIR="$pkgdir/" install