1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit autotools-utils multilib flag-o-matic
11 DESCRIPTION="COIN-OR Optimization Services"
12 HOMEPAGE="https://projects.coin-or.org/OS/"
13 SRC_URI="http://www.coin-or.org/download/source/${MYPN}/${MYPN}-${PV}.tgz"
17 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
18 IUSE="doc examples static-libs test"
22 sci-libs/coinor-bonmin:=
23 sci-libs/coinor-couenne:=
25 sci-libs/coinor-dylp:=
26 sci-libs/coinor-symphony:=
27 sci-libs/coinor-utils:=
32 doc? ( app-doc/doxygen[dot] )
33 test? ( sci-libs/coinor-sample )"
35 S="${WORKDIR}/${MYPN}-${PV}/${MYPN}"
38 append-cppflags -DNDEBUG
39 # needed for the --with-coin-instdir
42 -e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:g" \
44 autotools-utils_src_prepare
49 --enable-dependency-linking
50 --with-coin-instdir="${ED}"/usr
52 autotools-utils_src_configure
56 autotools-utils_src_test test
60 autotools-utils_src_install
61 use doc && dodoc doc/*.pdf