1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 AUTOTOOLS_AUTORECONF=yes
9 inherit autotools-utils multilib
13 DESCRIPTION="COIN-OR C++ Algorithmic Differentiation"
14 HOMEPAGE="https://projects.coin-or.org/CppAD/"
15 SRC_URI="http://www.coin-or.org/download/source/CppAD/${MYP}.gpl.tgz"
19 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
23 dev-libs/boost[threads]
28 doc? ( app-doc/doxygen[dot] )"
33 "${FILESDIR}"/${P}-dash.patch
34 "${FILESDIR}"/${P}-boost.patch
38 local myeconfargs=( $(use doc Documentation) )
39 autotools-utils_src_configure CXX_FLAGS="${CXXFLAGS}"
43 autotools-utils_src_compile
45 ./build.sh doxygen || die
50 autotools-utils_src_test check test
54 use doc && HTML_DOC=( "${BUILD_DIR}"/doxydocs/html/. )
55 autotools-utils_src_install
57 insinto /usr/share/doc/${PF}/examples