2019-08-11 11:13:46 +02:00
|
|
|
# Description: COIN-OR Cut Generation Library
|
|
|
|
# URL: https://projects.coin-or.org/Cgl
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: coin-or-clp
|
|
|
|
|
|
|
|
name=coin-or-cgl
|
2020-02-01 20:45:07 +01:00
|
|
|
version=0.60.3
|
2019-08-11 11:13:46 +02:00
|
|
|
release=1
|
|
|
|
source=(https://www.coin-or.org/download/source/Cgl/Cgl-${version}.tgz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd Cgl-$version/Cgl
|
|
|
|
COIN_SKIP_PROJECTS="Sample" \
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--with-osi-lib="$(pkg-config --libs osi)" \
|
|
|
|
--with-osi-incdir="/usr/include/coin/" \
|
|
|
|
--with-clp-lib="$(pkg-config --libs clp)" \
|
|
|
|
--with-clp-incdir="/usr/include/coin/" \
|
|
|
|
--with-coinutils-lib="$(pkg-config --libs coinutils)" \
|
|
|
|
--with-coinutils-incdir="/usr/include/coin/" \
|
|
|
|
--enable-dependency-linking
|
|
|
|
make
|
|
|
|
PKG_CONFIG_LIBDIR="$PKG"/usr/lib/pkgconfig/ \
|
|
|
|
make DESTDIR="$PKG" install
|
|
|
|
rm -fr $PKG/usr/share/coin/doc
|
|
|
|
}
|