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
|
2022-02-05 18:17:15 +01:00
|
|
|
version=0.60.5
|
2019-08-11 11:13:46 +02:00
|
|
|
release=1
|
2022-01-17 17:33:58 +01:00
|
|
|
source=(https://github.com/coin-or/Cgl/archive/releases/$version/$name-$version.tar.gz)
|
2019-08-11 11:13:46 +02:00
|
|
|
|
|
|
|
build() {
|
2022-01-17 17:33:58 +01:00
|
|
|
cd Cgl-releases-$version/Cgl
|
2019-08-11 11:13:46 +02:00
|
|
|
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
|
|
|
|
}
|