1 # Maintainer: Daniel Ehlers <danielehlers@mindeye.net>
5 pkgdesc="The COIN-OR Cut Generation Library (Cgl) is a collection of cut
8 url="https://projects.coin-or.org/Cgl"
11 depends=('coin-utils>=2.7.1' 'coin-osi>=0.104.2' 'coin-clp>=1.13.3' )
12 makedepends=('coin-utils>=2.7.1' 'coin-osi>=0.104.2' 'coin-clp>=1.13.3' )
13 source=(http://www.coin-or.org/download/source/Cgl/Cgl-$pkgver.tgz)
14 md5sums=('9664c15ea3b90a37a7a8da7d3e8fcda7')
17 cd "$srcdir/Cgl-$pkgver"
18 COIN_SKIP_PROJECTS="Sample" \
19 ./configure --prefix=/usr \
20 --with-osi-lib="`pkg-config --libs osi`" \
21 --with-osi-incdir="/usr/include/coin/" \
22 --with-clp-lib="`pkg-config --libs clp`" \
23 --with-clp-incdir="/usr/include/coin/" \
24 --with-coinutils-lib="`pkg-config --libs coinutils`" \
25 --with-coinutils-incdir="/usr/include/coin/" -C
31 cd "$srcdir/Cgl-$pkgver"
36 cd "$srcdir/Cgl-$pkgver"
37 PKG_CONFIG_LIBDIR="${pkgdir}/usr/lib/pkgconfig/" \
38 make DESTDIR="$pkgdir/" install