blob: fbc6e2d895f45af37d7e6e30e155ff72e4b18f68 (
plain)
1 # Description: COIN-OR Open Solver Interface
2 # URL: https://projects.coin-or.org/Osi
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: coin-or-coinutils
5
6 name=coin-or-osi
7 version=0.108.7
8 release=1
9 source=(https://github.com/coin-or/Osi/archive/releases/$version/$name-$version.tar.gz)
10
11 build() {
12 cd Osi-releases-$version
13 COIN_SKIP_PROJECTS="Sample" \
14 ./configure --prefix=/usr \
15 --enable-dependency-linking \
16 --with-coinutils-lib="$(pkg-config --libs coinutils)" \
17 --with-coinutils-incdir="/usr/include/coin/"
18 make
19 PKG_CONFIG_LIBDIR="${PKG}/usr/lib/pkgconfig/" \
20 make DESTDIR="$PKG" install
21 rm -fr $PKG/usr/share/coin/doc
22 }
|